He incurred the imprecation of a hermit by which he was sentenced to die of the bite of a snake at the expiry of a week. In preparation of this event he went to the banks of the Ganges, where the sage Suka narrated the Bhagavata to him. In his final days, he wanted to be wholly engrossed in the thoughts of the Lord.
References :
1. Kohli,Surindar Singh ed,Dictionary of Mythological References in Guru Granth Sahib 1993