Congratulations (episode)

Synopsis
Kakashi watches proudly as Sakura prevents Kaguya from flying up, allowing Naruto and Sasuke to make physical contact with her, activating the fūinjutsu taught to them by Hagoromo. As her Rinne Sharingan is obscured, Kaguya wonders how scattered pieces of her chakra were able to seal her again. Hagoromo notices the seal was applied, and prepares to bring everyone back. Kaguya's Expansive Truth-Seeking Ball begins crumbling, the land begins sealing Kaguya, and Kaguya herself begins reverting into the Demonic Statue of the Outer Path, as the tailed beasts are separated from it. The rabbit head left in it spits Madara's body out. Sasuke and the tailed beasts meet up with Kakashi and Sakura, while Naruto goes looking for Black Zetsu, who is already intent on scheming Kaguya's next resurrection. Naruto denounces Black Zetsu's role in shinobi history, and throws it toward the forming moon, sealing it as well. Naruto meets up with the others, and Sakura wonders how they'll get out of Kaguya's dimension. Hagoromo summons everyone back with the aid of the previous Five Kage he called from the Pure Land. Hagoromo congratulates Kakashi on coordinating the sealing, though Kakashi downplays his role. Kakashi bids Obito farewell as Obito's chakra in him fades away. Hagoromo stops Sasuke from reaching Madara, who is about to die. Madara and Hashirama exchange their final words as Madara dies. Hagoromo announces he'll release the summoned Kage, including the ones from Impure World Reincarnation. Minato wishes Naruto happy birthday as dawn breaks. Naruto motormouths several things for Minato to tell Kushina as the Kage's spirits are released and go back to the Pure Land.

Trivia

 * Madara is corrected to have the replica of Hashirama's face on his chest, though in the trailer for the episode and briefly when he is approached by Hashirama, Madara's Sage Mode is activated.
 * In the manga, during Naruto and Kurama's reunion, Kurama gives him the middle finger. Instead, he shows his fist to Naruto in this episode.