One verse

Srimad Bhagavatam 5.8.27

5.8.27

तदानीमपि पार्श्ववर्तिनमात्मजमिवानुशोचन्तमभिवीक्षमाणो मृग एवाभिनिवेशितमना विसृज्य लोकमिमं सह मृगेण कलेवरं मृतमनु न मृतजन्मानुस्मृतिरितरवन्मृगशरीरमवाप ॥ २७ ॥

tadanim api parsva-vartinam atmajam ivanusocantam abhiviksamano mrga evabhinivesita-mana visrjya lokam imam saha mrgena kalevaram mrtam anu na mrta-janmanusmrtir itaravan mrga-sariram avapa.

tadanim
at that time
api
indeed
parsva-vartinam
by the side of his deathbed
atma-jam
his own son
iva
like
anusocantam
lamenting
abhiviksamanah
seeing
mrge
in the deer
eva
certainly
abhinivesita-manah
his mind was absorbed
visrjya
giving up
lokam
world
imam
this
saha
with
mrgena
the deer
kalevaram
his body
mrtam
died
anu
thereafter
na
not
mrta
destroyed
janma-anusmrtih
remembrance of the incident before his death
itara-vat
like others
mrga-sariram
the body of a deer
avapa
got

At the time of death, the King saw that the deer was sitting by his side, exactly like his own son, and was lamenting his death. Actually the mind of the King was absorbed in the body of the deer, and consequently—like those bereft of Krsna consciousness—he left the world, the deer, and his material body and acquired the body of a deer. However, there was one advantage. Although he lost his human body and received the body of a deer, he did not forget the incidents of his past life.