She took part in the Battle of Cape Spartel, where she attacked the rear of the British squadron.