Summary
-
Seal the souls to stop Zombie Ninjas in Edo Tensei.
-
Communicate and close the free souls of their guilt.
-
Use Genjutsu to control the user and publish Edo Tensei.
Summary: impure world -custody, generally known as Edo Tensei, is one of the most fascinating and dangerous jutsu in Naruto. This jutsu enables its users to temporarily revive and control dead people. This jutsu was developed by the second Hokage Tobirama Senju and perfected by Orochimaru and Kabuto.
Kabuto uses this jutsu to bring mighty ninjas back from beyond the grave to fight for his side during the 4th Great Ninja War. That alone is extremely impressive, but the best thing about Edo Tensei is to carry out the fact that it is a relatively simple jutsu, and it will continue to be active until the user personally publishes the Jutsu. This means that killing the user does not stop the Edo Tensei. So is there no way to stop the Edo Tensei? As it turns out, there are some ways to counteract this jutsu.

Related
Naruto: How Kabuto perfected the Edo Tensei Jutsu
The reincarnation of summoning is able to revive the dead: impure world one of the most powerful jutsu in the series. So it reached its ideal state.
Remove the soul from the body
Seal the soul, stop the zombie
The most uncomplicated way to deal with the zombie infestation of the Great Ninja War is to seal your souls. In essence, the Edo Tensei is simply a jutsu that binds the soul of a dead person into the body of a living person. This means that if you can seal your soul, the body stops working immediately.
This is the solution that the third Hokage used during the invasion of Konoha by Orochimaru when Orochimaru called the three previous Hokage to fight for him. At that time, the third Hokage sacrificed himself and used the dead demon, the soul, the most powerful seal -Jutsu from the Uzumaki clan, to seal the souls of the previous Hokages. Itachi also uses his blade from Totsuka to seal Nagato's soul.
Since this is the most reliable solution against Kabuto's zombies, the Ninja alliance creates a seal of sealing and assigns its members to every team fighting on the front. To mention unnecessarily before you can seal them, you first have to stop them, which is extremely difficult against these first-class zombie ninjas. But as soon as you can jump over this hurdle, it shouldn't be difficult to give away the zombies. That is why the Sealing squad is undoubtedly the unsung heroes of the 4th Great Ninja War.
“It is the Totsuka blade. You will soon be sealed. Some last words?”
– Itachi Uchiha, Chapter 551
Give the soul closure
Let the soul pass on to life after death
Another way to counteract the Edo Tensei is to really speak to the reborn ninjas and give them some closure. A reborn ninja has no control over her actions, but if Kabuto does not intentionally close the mind, these ninja zombies can think and communicate like a living person. In fact, they still keep their memories and personalities.
But just like all warriors who fell on the battlefield, they have to blame and regret who bound their souls to the world of living. By talking to them and giving them a proper conclusion, their hearts can leave these feelings of guilt and regret behind, so that they can pass on to life after death in peace.
The best example of this is when Sasori speaks to Kankurou. He helps to recognize Sasori that the path to achieve true immortality consists through the dolls and the technology that he handed over to the next generation. As long as his techniques and dolls are still used, Sasori's name will live on. Thanks to Kankurous words, Sasori finally gets proper closure and is ready to go to the hereafter. This strong feeling separated Kabuto's bond with his soul and left the Edo Tensei freely.
“Your art, the dolls you have created will live on. As long as there are future generations of doll champions to inherit the soul who lives in them!”
Use Genjutsu to force the user to release Edo Tensei
Control the user, control the jutsu
As already mentioned, only the user can fully publish the EDO density and send the soul back to the underworld. This means that if the user dies before he gets the chance to publish the Jutsu, the Edo Tensei will be active forever. Since someone like Kabuto would not voluntarily release their biggest weapon, the obvious solution is to control Kabuto through Genjutsu and to free him the Jutsu.
This is exactly what Itachi intends when he fights against Kabuto towards the end of the 4th Great Ninja War. Unfortunately, Kabuto's Sage mode allows him to move and fight without having to open his eyes, which makes Itachis Sharingan useless. At least Kabuto thinks that.
In the middle of her struggle, Itachi activates a Jutsu, Izanami banned by Uchiha's clan. Izanami captures Kabuto's spirit in a loop that makes his body motionless. Now that Kabuto has lost access to his body, itachi simply uses the Sharingan on Kabuto and asks him to leave the Edo Tensei released. And so the battlefield is finally free from the zombie ninjas.
“I will keep him captive, so it makes it easier for me to throw my usual gene jutsu on him. I will now stop the Edo Tensei Jutsu.”
– Itachi Uchiha, Chapter 587
Related
Naruto: Itachi's best fights, classified
Here are some of the best fights by Itachi Uchiha, a man who is known as one of the strongest and smartest ninjas from Konoha.
Use genjutsu to overwrite the user's commands
Take control of the user
As mentioned above, Kabuto can completely control the movement of the zombies and still have it freely think and communicate them with others. In this state, the only thing that prevents her from becoming a villain prevents Kabuto, the talisman he puts in her body. Consider it as a new series of rules and commands that you have to follow, no matter what happens.
Technically speaking, you can break the zombie free of Kabuto if you can somehow overwrite these rules and commands. And that is exactly what itachi did. He overwrites Kabutos Talisman with a new command with Uchiha Shisuis Mangyou Sharingan. This legendary Sharingan activates a genjutsu that forces Itachi to protect Konoha. Thanks to this, Itachi is free of Kabuto. While this method appears fairly simple, only powerful gene juts such as Shishuis Mangkyou Sharingan can switch off such a performance.
“Simply, I am no longer checked. I used a new genjutsu against the enemy Jutsu. The Edo Tensei is undone.”
– Itachi Uchiha, Chapter 550
The revived body that revokes the contract
Only work if you are Uchiha Madara
Last but not least is a method that is just as crazy when it is not crazier than using Shishuis Manchyou Sharingan. This method enables the zombies to separate Kabuto's control and obtain its independence. The only one who manages to reduce this incredible trick is none other than Madara.
According to Madara, the reborn Ninja can separate the contract from its end as long as you know the signs for weaving and the method behind the Edo Tensei. And that's exactly what he did. In fact, this is the method that enables Zombie Madara, even after Kabuto published the Edo Tensei. Apart from that, when you consider that even the second hokage that Edo Tensei has created could not do this, this method probably has more to do than Madara.
“As long as you know the signs of weaving, a revived dead person can actually call the Edo Tensei contract from their end.”
– Madara Uchiha, Chapter 591
Itachi once said that every Jutsu has a weakness. No matter how powerful or complex it may be, if you analyze it carefully, there will always be a gap that you can take advantage of. The same can be said about the apparently unbeaten Edo Tensei. Sure, some of the above methods can only be carried out by certain people or rely on certain conditions, but it does not change the fact that there are five different methods with which Edo Tensei can be broken.
Naruto is available on crunchyroll.

More
Naruto: 10 largest power-ups in the series, ranking
These are some of the most important power-ups in the world of Naruto