Obtaining the Akshaya Patra Some time after going to the forests, Yudhishthira became troubled upon realising that he was unable to feed the Brahmanas who followed him to the forests. On the advice of his priest, Sage Dhaumya, Yudhishthira stood in river and appeased
Surya, the Sun god, by reciting his 108 names. The god gifted a copper plate, the
Akshaya Patra, to Yudhishthira, saying that any food cooked in that vessel would be inexhaustible, until Draupadi finished her daily meal. He also blessed Yudhishthira that the latter would regain his kingdom fourteen years later.
Tale of Nala and Damayanti Sage Vyasa imparts the Pratismriti to Yudhishthira and tells him to pass it down to Arjuna. On Vyasa's advice, Yudhishthira permits Arjuna to perform penance in the Himalayas and obtain celestial weapons from the gods. During Arjuna's absence, Sage Brihadashva consoles Yudhishthira by narrating the story of
Nala and
Damayanti. Brihadashva advises Yudhishthira not give in to misery despite the wretched conditions he lives in. At the end of the story, Yudhishthira received a mantra from the sage, which makes him a master of gambling.
Yudhishthira and Nahusha One day, while Bhima was roaming the forests, he was captured by a giant serpent, who suppressed the Pandava's might with his gaze. Meanwhile, a worried Yudhishthira searched for Bhima and found him at the mercy of the snake. To Yudhishthira's shock, the snake introduces itself to be the ancient King
Nahusha, the father of
Yayati, and the legendary ancestor of the Pandavas. Nahusha posed questions on spirituality to Yudhishthira and was satisfied with his answers. In turn, he also clarified Yudhishthira's doubts on some spiritual topics. Nahusha then narrated his story to Yudhishthira, on how he used to rule
Svarga in the days of yore, how he became intoxicated with hubris, and how he turned into a snake due to the curse of the sages,
Bhrigu and
Agastya. Nahusha used his own story to warn Yudhishthira about the consequences of being arrogant. Agastya and Bhrigu had prophesized that Yudhishthira would rescue Nahusha from his curse. After conversing with Yudhishthira, Nahusha regained his original form and returned to Svarga.
Yudhishthira and Markandeya The ever-youthful sage,
Markandeya, once visited Yudhishthira. He narrated many stories to Yudhishthira, including the characteristics of the Yugas, the story of King
Shibi, and the story of
Savitri and Satyavan. He also narrated the story of
Rama to Yudhishthira, and discoursed on spiritual philosophy.
Yaksha Prashna During their exile, the four other Pandavas happened upon a lake, which was haunted by a
Yaksha. The Yaksha challenged the brothers to answer his moral questions before drinking the water; the four Pandavas laughed and drank the water anyway. As a result, they choked on the water and died. Yudhishthira went in last, answered many questions put forth to him by the Yaksha. After the Yaksha was satisfied with the answers, he offered Yudhishthira the choice to bring back one of his brother, and Yudhishthira chose Nakula. When the Yaksha questioned him on his reasoning, Yudhishthira replied that he is still alive as Kunti's lineage, but there are no one alive as
Madri's lineage, so he chose Nakula. The Yaksha was impressed again, and revived all of the Pandavas siblings. The Yaksha asked for any other wish as he was impressed and told him he could ask for wealth, strength, power, anything he wished. Yudhishthira said he already got the strength, wealth and power when all his four brothers were revived and said he could not ask for any other wish. Yudhishthira replied, "It is enough that I have beheld thee with my senses, eternal God of gods as thou art! O father, whatever boon thou wilt confer on me I shall surely accept gladly! May I, O lord, always conquer covetousness and folly and anger, and may my mind be ever devoted to charity, truth, and ascetic austerities!" This story is often cited as an example of Yudhishthira's upright principles. The Yaksha later identified himself as Yudhishthira's father, Dharma, and pointed them to the kingdom of
Matsya to spend their last year of exile in anoymity.
Ajñātavāsa Along with his brothers, Yudhishthira spent his last year of exile in the kingdom of Matsya. He disguised himself as a
Brahmin named Kanka (among themselves Pandavas codenamed him Jaya) and advised the game of dice to the king. Following the death of
Kichaka by Bhima, Matsya was invaded by King
Susharma of
Trigarta, in retaliation to the raidings his kingdom had suffered by Kichaka, and in cooperation with Duryodhana of Hastinapur. When Susharma's army closed the kingdom, Kanka volunteered to follow King Virata to face the invader, and took along his three brothers, Vallabha (
Bhima), Granthika (
Nakula), and Tantripala (
Sahadeva), with him and while disguised. On the battlefield, the brothers proved valiance, defending King Virata before finally defeating King Susharma. While Yudhishthira and King Virata were away battling Susharma, the city was marched upon by the host from Hastinapur. Prince Uttar and Brihannala (
Arjuna), who were left in defense of the city, rallied to defend the kingdom, where Arjuna revealed his identity and fended off the invasion. When King Virata returned from his battle, the identities of all Pandavas were revealed, and Yudhishthira congratulated the marriage between Princess
Uttarā and
Abhimanyu, as Arjuna has suggested. ==Kurukshetra war==