Śrīmad-Bhāgavatam · Text 9.8.17
Who is speaking and story frame
एवं वृत्त: परित्यक्त: पित्रा स्नेहमपोह्य वै ।
योगैश्वर्येण बालांस्तान् दर्शयित्वा ततो ययौ ॥ १७ ॥
evaṁ vṛttaḥ parityaktaḥ
pitrā sneham apohya vai
yogaiśvaryeṇa bālāṁs tān
darśayitvā tato yayau
Because Asamañjasa engaged in such abominable activities, his father gave up affection for him and had him exiled. Then Asamañjasa exhibited his mystic power by reviving the boys and showing them to the King and their parents. After this, Asamañjasa left Ayodhyā.
Read Śrīla Prabhupāda's purport on Vedabase.io