The freedom fighters that opposed the European colonist bravely, all knew the horrific consequences. It wasn’t a risk-free venture after all. A horrible death awaited all that were captured. Often in the form of decapitation, crucifixions, burning alive while also being poked by heated metal, etc… Most of the time a decapitated head ended up being displaced to discourage the other enslaved Africans.
But the consequences for their brave actions did not stop these freedom fighters or others from joining their cause, not when a chance at true freedom outweighs the risk of dying.