The correct answer to this open question is the following.
Although it is a statement, with no question, we can comment on the following.
Indeed, it is not difficult to see that there might have legal arguments as to whether the power to end the war and manage the peace negotiations.
When a war is ended, there is so much pain, suffering, and destruction as a consequence of the war. The winner has the advantage of writing the peace terms to reach an agreement and sign a peace treaty. Most of the time, the winner tries to take advantage of its position and sign peace terms that benefit the winner and oppress the defeated country.