“Russia, the invading army, determines when the war ends. Not the folks being invaded.”
Oh, and there is no such silly rule. Another platitude.
The surrendering force determines when the war ends.
Otherwise the South would have won the Civil War.
The South was the belligerent party - they waged war on the United States starting from their attack on Ft. Sumter. When they ceased to fight, the war ended.