After Nagato's death, leadership of the Akatsuki fell directly into Obito Uchiha's hands. Sasuke Uchiha's Taka had once briefly cooperated with the Akatsuki, their goal being to capture the Eight-Tails for the organization. However, that operation ultimately ended in failure.
Afterward, Obito Uchiha reached an agreement of mutual exploitation with Kabuto Yakushi. They decided to join forces and launch the Fourth Shinobi World War to achieve their respective goals.
During the Fourth Shinobi World War, White Zetsu's original body was unfortunately slain by Sasuke. Obito Uchiha, meanwhile, joined forces with Madara Uchiha, whom Kabuto Yakushi had summoned through Edo Tensei. Together, they controlled the powerful Ten-Tails and fought fiercely against the Allied Shinobi Forces.
However, the tide of the war gradually began to change. Kabuto was defeated in battle against Sasuke and Itachi, who had been revived through Edo Tensei, while Orochimaru was also revived through Sasuke's efforts.
Sasuke cleverly used Kabuto's power to successfully revive Orochimaru. In his own unique way, Orochimaru toyed with the Death God, not only reviving himself but also bringing back the four Hokage in the process.
The Uchiha brothers, Sasuke and Itachi, displayed astonishing coordination and strength during the war. They joined forces against Kabuto Yakushi and ultimately emerged victorious.
However, Obito Uchiha's fate did not change because of this. Although he became the Ten-Tails Jinchuriki, he was ultimately defeated by the Allied Shinobi Forces. Forced by Black Zetsu's possession, Obito Uchiha had no choice but to use the Outer Path: Rinne Rebirth to revive Madara Uchiha. In that breathtaking battle of consciousness against Black Zetsu, Obito Uchiha displayed astonishing willpower and resolve. After a fierce struggle, he finally defeated Black Zetsu and successfully regained control of his body.
Immediately afterward, Obito Uchiha unhesitatingly infused Naruto with the other half of the Nine-Tails, as