Maxwell first gained recognition as one of the British captains involved in the successful Adriatic campaign of 1807–1814, during which he was responsible for the destruction of a French armaments convoy at the Action of 29 November 1811.