To save Finland, president Ryti stepped down, Mannerheim took over, and we got a peace deal.

Ryti even did time. Innocent man.

Finland agreed to,

1) Denazification - War of Lapland ensued.
2) Cede some territory, and
3) To be neutral.

No biggie. Peace and prosperity followed.