Sasuke traps the tailed beasts with Chibaku Tensei.
Sasuke explains that while vengeance and destruction were his initial goals, now he wants to destroy the shinobi world as it is to rebuild it anew, blaming the Five Kage for how the world has become. Sasuke wants to kill the Five Kage before releasing the Infinite Tsukuyomi, to everyone's surprise, and puts the tailed beasts under genjutsu, also planning to kill them later. Hagoromo explains that Naruto and Sasuke, having the tailed beasts' chakra and the Rinnegan, can release the Infinite Tsukuyomi.
Naruto says his hasn't changed, and having fought Kaguya, that he is glad Kushina was his mother. Hagoromo asks Naruto and Sasuke if the answers they gave him before have changed. Hagoromo asks Kurama to return to Naruto, who due to having a bit of each of their chakra, can act as a gathering place for the tailed beasts to communicate. Now free, the tailed beasts make plans on where to go. ' The Valley of the End' ( 終末の谷, Shūmatsu no Tani) is episode 475 of the Naruto: Shippūden anime.