Lecture on Srimad Bhagavatam Canto 8, Chapter 4, Texts 4-6 (Gajendra returns to the Spiritual World) by Mukunda Datta das.
SB 8.4.3-4: The best of the Gandharvas, King Huhu, having been cursed by Devala Muni, had become a crocodile. Now, having been delivered by the Supreme Personality of Godhead, he assumed a very beautiful form as a Gandharva. Understanding by whose mercy this had happened, he immediately offered his respectful obeisances with his head and began chanting prayers just suitable for the transcendental Lord, the supreme eternal, who is worshiped by the choicest verses.
SB 8.4.5: Having been favored by the causeless mercy of the Supreme Personality of Godhead and having regained his original form, King Huhu circumambulated the Lord and offered his obeisances. Then, in the presence of all the demigods, headed by Brahma, he returned to Gandharvaloka. He had been freed of all sinful reactions.
SB 8.4.6: Because Gajendra, King of the elephants, had been touched directly by the hands of the Supreme Personality of Godhead, he was immediately freed of all material ignorance and bondage. Thus he received the salvation of sarupya-mukti, in which he achieved the same bodily features as the Lord, being dressed in yellow garments and possessing four hands.