Even in the one definition of “maroon” (among many) that you refer to, the word is not an ethnic slur. The Maroons formed an independent culture that fought back heroically and effectively against slavery.
Do you have examples of the term being used as a pejorative in modern times?