Srimad Bhagavatam Canto 01, Chapter 09, Text 31

SB 1.9.31

visuddhaya dharanaya hatasubhas
tad-iksayaivasu gata-yudha-sramah
tustava janyam visrjañ janardanam
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
By pure meditation, looking at Lord Sri Krsna, he at once was freed from all material inauspiciousness and was relieved of all bodily pains caused by the arrow wounds. Thus all the external activities of his senses at once stopped, and he prayed transcendentally to the controller of all living beings while quitting his material body.
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
The material body is a gift of the material energy, technically called illusion. Identification with the material body is due to forgetfulness of our eternal relationship with the Lord. For a pure devotee of the Lord like Bhismadeva, this illusion was at once removed as soon as the Lord arrived. Lord Krsna is like the sun, and the illusory, external material energy is like darkness. In the presence of the sun there is no possibility that darkness can stand. Therefore, just on the arrival of Lord Krsna, all material contamination was completely removed, and Bhismadeva was thus able to be transcendentally situated by stopping the activities of the impure senses in collaboration with matter. The soul is originally pure and so also the senses. By material contamination the senses assume the role of imperfection and impurity. By revival of contact with the Supreme Pure, Lord Krsna, the senses again become freed from material contaminations. Bhismadeva attained all these transcendental conditions prior to his leaving the material body because of the Lord’s presence. The Lord is the controller and benefactor of all living beings. That is the verdict of all Vedas. He is the supreme eternity and living entity amongst all the eternal living beings.* And He alone provides all the necessities for all kinds of living beings. Thus He provided all facilities to fulfill the transcendental desires of His great devotee Bhismadeva, who prayed as follows.
Srimad Bhagavatam Canto 01, Chapter 09, Text 30
Srimad Bhagavatam Canto 01, Chapter 09, Text 32