That is the correct answer.
Despite the fact that Spanish troops did not actually engage in any military maneuvers in the British Colonies in North America, they did engage the British elsewhere. [Note Question #39 refers to activity outside of the British Colonies also.] The attack on the fortification on Gibralter by the Spanish General Don Jose de Barboza, leading a joint Spanish and French force, was unsuccessful. Barboza was mortally wounded and abandoned by his own troops, but offered assistance by the British General George Elliott.
It is of interest to note that the answer, The Battle of Cuddalore was incorrect because of the date. The Battle of Cuddalore, India was fought on 25 June 1783, making it officially the last battle of the American Revolutionary War. The French~Mysoreans who were trapped in the city of Cuddalore, in the Bay of Bengal, made a series of unsuccessful attacks against the British army that was besieging the city. The siege collapsed on 29 June, when an envoy arrived bearing news of the preliminary Peace Treaty having been signed on 30 November 1782.
"The Sortie Made by the Garrison of Gilbralter" by John Trumball
Metropolitan Museum of Art, New York City, NY
Click on the "Betsy Ross Flag" below, or use your browser's "Back" button, for the next question.