Śrīmad-Bhāgavatam · Text 1.15.32
Who is speaking and story frame
निशम्य भगवन्मार्गं संस्थां यदुकुलस्य च ।
स्व:पथाय मतिं चक्रे निभृतात्मा युधिष्ठिर: ॥ ३२ ॥
niśamya bhagavan-mārgaṁ
saṁsthāṁ yadu-kulasya ca
svaḥ-pathāya matiṁ cakre
nibhṛtātmā yudhiṣṭhiraḥ
Upon hearing of Lord Kṛṣṇa’s returning to His abode, and upon understanding the end of the Yadu dynasty’s earthly manifestation, Mahārāja Yudhiṣṭhira decided to go back home, back to Godhead.
Read Śrīla Prabhupāda's purport on Vedabase.io