Manuel Villar, Commander of the Peruvian First Naval Division and commander of the combined fleet, ordered the attack when the Spaniards began to proceed through the widest channel.
After two hours of battle and more of 1500 shots from each side, the Spanish frigates, seeing that the Allied fleet was well protected in her position around the shoals, decided to leave the reef and waited to go out to sea.