Africans in the British colonies resisted slavery by