Zelensky boxing meme

Someone explain to me how that would work? Is everyone just going to lay down their arms and have a vote? There are already at least 4 million Ukrainian refugees that aren't in the country.

Moreover, what happens if they vote against the deal?

I can't think of any time in history where a referendum has ended a war.