He returned to the Mediterranean in November as commander-in-chief. He co-operated with the Austrians in the siege of Genoa, which surrendered on 4 June 1800. It was however immediately afterwards lost in consequence of the Battle of Marengo, and the French made their re-entry so rapidly that the admiral had considerable difficulty in getting his ships out of the harbour. The close of 1801 and the beginning of the following year were spent in transporting the army sent to recover Egypt from the French. As the naval force of the enemy was completely driven into port, the British admiral had no opportunity of an action at sea, but his management of the convoy carrying the troops, and of the landing at Aboukir, was greatly admired.