 As commander of the frigate "Perla" he found himself involved in the naval Battle of Cape St Vincent (February 14, 1797).In the Bay of Algiers a galley under his command fired for eight hours at the Moors.In 1803 Pareja commanded the ship "San Agustin" and in February 1805 he acquired the ship of the Prince of Asturias and sailed to Cadiz with the combined fleets of France and Spain under the command of Admiral Villeneuve and Lieutenant General Gravina.