I think the next guy has a high likelihood to recognize that the war cannot be won. Putin probably knows the same by now, but he has no other options than to continue (unless he's okay with dying, but he isn't).
A successor has the option to declare something akin to a coup (even if it really isn't one) and claim that "it was Putin, not the new Russia I am leading!", getting the soldiers out of Ukraine and starting the negotiations. (Or rather: starting negotiations for withdrawing Russian troops from Ukraine and drafting a real peace deal.)