Śrīmad-Bhāgavatam · Text 4.20.37
Who is speaking and story frame
भगवानपि राजर्षे: सोपाध्यायस्य चाच्युत: ।
हरन्निव मनोऽमुष्य स्वधाम प्रत्यपद्यत ॥ ३७ ॥
bhagavān api rājarṣeḥ
sopādhyāyasya cācyutaḥ
harann iva mano ’muṣya
sva-dhāma pratyapadyata
The infallible Supreme Personality of Godhead, having captivated the minds of the King and the priests who were present, returned to His abode in the spiritual sky.
Read Śrīla Prabhupāda's purport on Vedabase.io