The independent Personality of Godhead enjoys His pastimes by His internal potency and at the time of annihilation gives them up to the external potency, and He remains a witness to it all.
Srimad Bhagavata Purana
श्रीमद्भागवतमहापुराणम्
मूल श्लोकः
यथाऽऽत्मतन्त्रो भगवान् विक्रीडत्यात्ममायया । विसृज्य वा यथा मायामुदास्ते साक्षिवद्विभुः
yathā''tmatantro bhagavān vikrīḍatyātmamāyayā | visṛjya vā yathā māyāmudāste sākṣivadvibhuḥ
SB 2.8.23