he shipped out of aboukir leaving sam hood with four sail of the line and two frigates to keep alexandria bottled up and sailed for naples where he was feted by our ambassador sir william hamilton and his wife the lady emma who then joined him for the voyage back to england .