Action of 15 July 1798 joining with a squadron of four Portuguese ships of the line under the command of Tomás Xavier Teles de Castro da Gama, Marquess de Niza. In September, Niza's squadron was ordered to join Nelson in his search for the French and sailed eastwards, but while passing to the north of Malta they encountered a large convoy of battered vessels under Captain Sir James Saumarez. These ships were seven British ships of the line and six captured French ships, all survivors of the Battle of the Nile, Nelson's successful conclusion of the campaign fought at Aboukir Bay off Egypt on 1
Sir Thomas Thompson, 1st Baronet to allow them to withdraw. Thompson himself was wounded in the battle. Thompson was later given command of a squadron, and carried out cruises in the Mediterranean, intercepting French and Spanish ships. He returned to Gibraltar, but was ordered to sea again in June 1798 to reinforce Nelson's squadron in their hunt for the French fleet that had earlier escaped from Toulon. He was with Nelson when they located the French fleet, under the command of Vice-Admiral Brueys, moored in Aboukir Bay. In the ensuing engagement Thompson came to the assistance of , which had run aground on shoals in