In 1797 Valdés was in command of the ship of the line Pelayo at the Battle of Cape St Vincent when the British fleet of Sir John Jervis with Horatio Nelson defeated the Spanish.
In 1797, Valdés commanded the ship Pelayo during the Battle of Cape St Vincent, where the British fleet under Sir John Jervis and Horatio Nelson defeated the Spanish forces.