In Srimad-Bhagavatam, Third Canto, Fourth Chapter, verses 28 and 29, there is a description of Krsna's leaving His body: Revision history
Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.