Śrīmad-Bhāgavatam · Text 5.8.31
Who is speaking and story frame
tasminn api kālaṁ pratīkṣamāṇaḥ saṅgāc ca bhṛśam udvigna ātma-sahacaraḥ śuṣka-parṇa-tṛṇa-vīrudhā vartamāno mṛgatva-nimittāvasānam eva gaṇayan mṛga-śarīraṁ tīrthodaka-klinnam ut-sasarja.
Remaining in that āśrama, the great King Bharata Mahārāja was now very careful not to fall victim to bad association. Without disclosing his past to anyone, he remained in that āśrama and ate dry leaves only. He was not exactly alone, for he had the association of the Supersoul. In this way he waited for death in the body of a deer. Bathing in that holy place, he finally gave up that body.
Read Śrīla Prabhupāda's purport on Vedabase.io