In the final arc of the sixth season, Yoda hears Qui-Gon Jinn speaking to him from beyond the grave. Yoda flees the Jedi Temple with R2-D2 to travel to Dagobah, his future home, to find answers. Shown cryptic visions of the fall of the Jedi, Yoda learns he has been chosen to manifest his consciousness after death as a Force ghost. Yoda is tested by a group of spirit priestesses in order to overcome trials and temptations on his pilgrimage; one of these tests is to face an illusion of ancient Sith lord Darth Bane. Yoda's final test is to resist an attempt by Darth Sidious and Dooku to lure him to the dark side with a false vision of deceased Jedi Master Sifo Dyas. Yoda engages in a metaphysical battle with Sidious and appears to sacrifice his life in order to save Anakin's–only to awaken and discover that the battle was merely a vision and that he has passed the test. The priestesses inform Yoda that his training will resume in time.