HMS Emerald (1795) dispatched a squadron of five ships, including "Emerald" and commanded by Nelson in the 74-gun , to locate a large invasion fleet that had left Toulon. After receiving intelligence on 22 May, Nelson correctly predicted the French fleet's destination and set course for Alexandria where the British captured or destroyed all but two of the French ships at the Battle of the Nile, which occurred between 1–3 August 1798. "Emerald" missed the battle; having previously become separated from the rest of the squadron in a storm on 21 May, she arrived at Aboukir Bay on 12 August. When Nelson left
French fleet at the Siege of Toulon the Battle of Genoa and another in July at the Battle of Hyères Islands. These engagements marked the only encounters between the British fleet and the French fleet they so briefly held before the Royal Navy was forced to withdraw from the Mediterranean by the 1796 Treaty of San Ildefonso at which the Spanish changed sides, allying with France against Britain. "The ships in the orders of battle below are listed by class and then approximately grouped by their positions on 18 December 1793. Note that although the Rating system for ships of the line was a Royal Navy measure,