Haiti was both, right? The slaves revolted and took over the government. How else can a slave revolt succeed?
In practice, slave revolts generally succeed in a less dramatic manner, in that slave owning becomes more dangerous and less popular, and it gets a lot easier for slaves to earn their freedom.
Recall that the revolting slaves in Haiti were looking for a compromise that would have left whites in charge of the government and in possession of their non human property, and instead things went to hell because the whites failed to compromise. The slaves were not seeking a total victory, but instead blundered into total victory unintentionally, and with quite disastrous consequences.