Brazil has a long list of dictators that abandoned power and did just fine. As a sibling commented, so does Argentina. I can only remember Peru in South America that made a fuss about it… and then reversed course.
But holding to it when things escalate does usually end very badly.