Based on internal and external relationships and the urgency of events, the existence of Akatsuki was indeed one of the reasons why Salamander Hanzō wanted to withdraw from the Third Shinobi World War.
Ensuring that his Amegakure could absolutely suppress the Land of Rain was something Hanzo prioritized over seeking profits in the war.
Moreover, it seems that Hanzo is not getting anything in the war.
But if his hometown isn't stable, why would he fight the Ninja World War?
At this time, although Akatsuki under Yahiko's leadership was gaining momentum in the Land of Rain, it was still only a "threat" to Amegakure, Akatsuki had not shown any intention to attack the village, so it was inaccurate for Salamander Hanzō to say that they were "rebelling". Didn't you see that everyone in Akatsuki was wearing Amegakure Forehead Protector?
At this point, Hanzo's desire to kill them was still just a concept; it had not yet become a reality.
As for the condition he proposed to Danzo for achieving peace—that Konoha would need to help if necessary—this is not a certainty. He will probably only ask Konoha for help after he has tried and found that he is truly unable to defeat Akatsuki on his own.
Given Hanzo's somewhat cautious nature, his request was simply a precaution.
As for the outcome of the conversation, Danzo, that treacherous old man, agreed to the condition in principle. The next step was to report the situation to the Hokage and obtain Hokage consent.
In fact, even if the Hokage disagreed, Danzo could have agreed to it himself; he just needed to do it more discreetly.
Because Danzo possessed power directly under his control, which he could freely utilize, it wasn't impossible for him to secretly do things behind the Hokage when necessary—he had done such things before, and without any psychological pressure, because Danzo firmly believed in one particular viewpoint:
Everything I've done is for Konoha.
Although nominally under the Hokage's control, Danzo's existence actually granted him real autonomy.
It was precisely because of the collusion between these two old bastards that a model young man was degenerated into one of the culprits who wanted to destroy the world.
However, Hagoromo was unable to stop their alliance.
However, even if Hagoromo had the power to break the agreement between the two, it would probably be to no avail, because Nagato's actions were being manipulated by a mastermind behind the scenes, and his descent into darkness was an inevitable "mission".
She witnessed the entire treacherous transaction between the two old men, but Hagoromo remained merely an observer throughout.
If you calculate the time, the negotiations lasted less than half an hour in total, and after reaching a basic agreement, Danzo chose to leave the Land of Rain directly.
The two sides will definitely continue to contact each other to discuss the details, but at this point, Amegakure's surrender is a foregone conclusion.
As for when Hanzo will make Konoha or Danzo fulfill the obligations they promised, only heaven knows.
However, it probably won't be quick.
Even if Hanzo wanted to resolve the Akatsuki issue as quickly as possible, and even if he immediately made a request to Konoha, Danzo wouldn't be able to send anyone out right away.
First, what if we help Hanzo accomplish these things so quickly, and then he goes back on his word later, tearing up the agreement and continuing the war against Konoha? That possibility exists. Hanzo's character is probably even Danzo than Danzo's. Anyone who believes that a piece of paper can truly confine this capricious "demigod" is a real daredevil.
Secondly, Danzo hoping that the Land of Rain would be in chaos for a longer period of time, and preferably take the opportunity to further weaken the power of Amegakure... This is not a dark speculation about Danzo's mentality; in fact, it is almost 100% certain that he had such an idea and thought.
If Hanzo were killed during the internal strife in Amegakure... just thinking about it is a little exciting.
The squad retreated faster than when they entered the Land of Rain, while the Hagoromo Team and Danzo's three quickly separated after entering the Land of Fire, each with their own missions.
None of the four members of the Hagoromo Team were willing to stay by Danzo's Danzo, a cold and aloof person.
Danzo's policies may have been right or wrong, but it must be admitted that he was sometimes admirable. However, he was not someone who could inspire a sense of closeness, and he could never become Hokage like the Third or Fourth Hokage.
Later, the Hagoromo Team returned to the front lines against Iwagakure and gave Jiraiya a detailed report of what had happened. After that, there was nothing more for them to do.
Hagoromo didn't know exactly how the higher-ups discussed this matter, but a month later, news came that Konoha and Amegakure had achieved peace and signed an alliance agreement.
After peace came peace again.
Although this event was not as impactful as forcing Sunagakure to surrender, Konoha achieved a series of victories, defeating both Kaze and Amane. For a time, it seemed that victory in the Third Shinobi World War was in sight, and the morale of all Konoha Ninja soared. Even the idea of a "quick victory" became rampant.
But war is not such a simple matter.
For Konoha, Amegakure somewhat of a liability. They were frequently harassed by Amegakure, but it wasn't worthwhile to use all of their strength to attack such a small country. In fact, although both sides declared peace, apart from psychological factors, it did not bring any substantial changes to the battle lines.
The most direct manifestation of this is that Konoha's battle lines and strategies have not been adjusted in any way despite Amegakure's surrender, and Konoha's combat intensity against Iwagakure and Kumogakure remains very high.
In the three-way battle, the battlefield was a mix of wins and losses, and no side could claim to have an absolute advantage.
However, the Hagoromo Team has been transformed from a reconnaissance unit back into a combat unit, with their main target being the Kumogakure.
After two consecutive victories, Kumogakure suddenly intensified its offensive against Konoha, compared to Iwagakure, forcing Konoha to increase its troop strength once again.
In this environment, the Hagoromo Team fought for a year.
Within that year, Hagoromo's strength as a ninja increased rapidly, specifically in terms of improved physical attributes and increased chakra levels during his growth period.
Unfortunately, a year of growth did not allow Hagoromo to undergo a transformation similar to that from "mid-junior high school level Sakura" to "mid-high school level Sakura". In the end, he still has a face that is a 3:7 composite of the prince and the princess.
Skin is skin; don't expect any fundamental changes to its appearance.
Given the strength of the Kumogakure and its combat power being no weaker than that of the Konoha, and considering the intensity of the battle here, just when Hagoromo thought he would stay on this front until the end of the war, he suddenly received a very urgent mission during his squad's rest period.