Impure World Reincarnation: Release!

is episode 340 of the Naruto: Shippūden anime.

Summary
On different battlefields, the reincarnated shinobi are being released from the Impure World Reincarnation respectively — which leads Tobi to note Kabuto's failure. Naruto and Killer B take the ascending souls of the previous jinchūriki as a sign of Itachi's succession. Meanwhile, the Kage wonder what is happening, to which Ōnoki notes that that without a doubt, someone has stopped the Impure World Reincarnation technique and whomever that did so, is a hero to the shinobi world. Elsewhere, Dan uses his Spirit Transformation Technique to take control of his then-ascending soul in order to fly to Tsunade's location. Speaking to Tsunade within her subconscious, Dan gives her the remainder of his chakra before fading away, thus restoring her Strength of a Hundred Seal. As Tsunade returns to the real world, she and the other Kage wonder why Madara's soul still remains intact — to which the latter reveals that he is capable of rescinding the summoning contract from the summoner. With that, Madara advises the Kage to tell the caster not to use kinjutsu so carelessly. Back at Kabuto's cave, Sasuke is found by his team-mates Suigetsu and Jūgo. Elsewhere, Naruto mocks Tobi and still persists in tearing off his mask, despite Kakashi telling him not to. Angered by Naruto's mockery, Tobi then brings forth the Benihisago and Kohaku no Jōhei, preparing to move forward with his plan.

Trivia

 * When Madara released the Impure World Reincarnation technique, his right eye is decipted as having his Sharingan activated.