Battle of Mahé Louis in December 1799 had restored absolute British control. The importance of the East Indies to British trade encouraged a number of French plans to threaten the region, of which the most advanced was the invasion, in 1798, of Egypt by a French Army under General Napoleon Bonaparte. Although the campaign saw initial success, the annihilation of the French Mediterranean Fleet by Sir Horatio Nelson at the Battle of the Nile on 1 August 1798 effectively doomed the campaign to failure. Later in the year Bonaparte considered building a squadron at Suez in the Red Sea, but the plans were
Atlantic campaign of 1806 sailed from Cadiz and was intercepted by Nelson, resulting in the Battle of Trafalgar. Although Nelson was killed at the height of the battle, his squadron inflicted a devastating defeat on the combined fleet, capturing or destroying 17 French or Spanish ships, including Villeneuve's flagship. The battered remnants of the French Mediterranean and Spanish Atlantic fleets retreated to Cadiz, although four French ships fled north and were intercepted and captured at the Battle of Cape Ortegal two weeks later. In total, the campaign cost Napoleon 13 French and 12 Spanish ships, eliminating any possibility of even regional superiority at sea