There was no threat to Jamaica even as the Americans fought for independence.
During the American War of Independence, Jamaica came under threat again from other European powers, which saw Britain's problem to the north as a chance to capture its colonies in the Caribbean.