Mahaprasthanika Parva, the Book of the Great Journey, opens with news of Krishna's death and the Yadava clan's destruction reaching Yudhishthira, who takes it as the final sign that his own generation's time has ended, and he abdicates the throne to Arjuna's grandson Parikshit before setting out with his four brothers and Draupadi, along with a stray dog that joins them unbidden, on a final walking pilgrimage toward the Himalayas and, by tradition, toward heaven itself, renouncing all possessions and worldly ties.
One by one, in an order the text explains as reflecting each person's remaining attachments or flaws, the companions fall and die along the difficult mountain path, Draupadi first, for a private partiality she had shown toward Arjuna among her five husbands, then Sahadeva, Nakula, Arjuna and Bhima in turn, each fall accompanied by Yudhishthira's brief, unsentimental explanation of the specific failing that caused it, until only Yudhishthira and the dog remain walking together toward the summit. Agni, the fire god, appears to Arjuna along the way and asks him to return the divine bow Gandiva, its purpose in the war now fulfilled, since it was never truly Arjuna's own possession but only lent to him for the conflict, a quiet final detail stripping away the last of the material tokens of the heroes' worldly power before the ascent itself begins in earnest.