After the dictator is deposed, you have a short trial and shoot him, within 6 hours. Then you put his dead corpse on tv so everybody knows he's dead and it strikes fear into the hearts of any supporters. Concurrently, you go after his underlings until they are either dead or fled from the country. Until then, everything is under 24 hour curfew and martial law. Then you start slowly loosening up and rebuilding, starting with pro-government demonstrations.
The coup plotters will rue the day they let Chavez live. They got caught up in being fair and not wanting blood on their hands. This mistake will cost them their lives. This business about Chavez not wanting martyrs is pure posturing. Once he has a firm grip he will do to the plotters what they should have done to him first; shoot them. They are dead men.
I'll give you no argument. I do believe no one expected the events to unfold the way they did. That Chavez's armed Bolivarian Circle Chavistas would ambush a peaceful march and that his senior military would then ask him to resign, just wasn't on the day's agenda. I think they just tried to do the best with the cards that were dealt and weren't prepared. The senior military men who asked Chavez to resign didn't command any troops so they only had a small window to act before the situation would be reversed. Personally, I don't know what more they could have done with out a more appropriate candidate to put into the presidency. There is much division between political parties, however they do agree, Chavez is nothing but trouble.