The transports had sailed back to France, but the battle fleet stayed and supported the army along the coast. The British fleet under the command of Horatio Nelson had been searching in vain for the French fleet for weeks. The British fleet had not found it in time to prevent the landings in Egypt, but on 1 August Nelson discovered the French warships anchored in a strong defensive position in the Bay of Abukir. The French believed that they were open to attack only on one side, the other side being protected by the shore. During the Battle of the Nile the arriving British fleet under Horatio Nelson managed to slip half of their ships in between the land and the French line, thus attacking from both sides. In a few hours 11 out of the 13 French ships of the line and 2 out of the 4 French frigates were captured or destroyed; the four remaining ships fled. This frustrated Bonaparte's goal of strengthening the French position in the Mediterranean Sea, and instead put it totally under British control. News of the naval defeat reached Bonaparte en route back to Cairo from defeating Ibrahim but, far from being worried, Mullié states: