She was under escort from the Spanish warships Hernán Cortés and Centinela, tasked with making certain the battle would take place 10 miles off Cuba, outside territorial water, and thus not violate Spanish neutrality.