Thousands of African Americans fought for the British—then fled the United States to avoid a return to enslavement.