at the reduction of St. Lucia, and was appointed by Hood acting captain of the Centaur, bearing his broad pennant. He had thus an important part in the capture of Tobago, Demerara, and Essequibo in July and September 1803, and of Berbice and Surinam in April 1804. His commission as captain was confirmed to 4 Aug. 1803. In 1805 he commanded the Galatea in the West Indies, and in 1807 was appointed to the Alceste, a 38-gun frigate, in which ‘he rendered his name conspicuous by the dashing nature of his services in the Mediterranean.’ On 4 April 1808, being off Cadiz, with the Mercury and Grasshopper brig in company, he dispersed a flotilla of twenty gunboats, sank two of them, drove their convoy on shore, and afterwards boarded and brought off seven. On the coast of Italy he assisted at the destruction of several armed vessels and martello towers. On 22 May 1810 he landed a party of men near Fréjus, stormed a 2-gun battery, spiked the guns, broke the carriages, blew up the magazine, and threw the shot into the sea. A few days later the Alceste's boats attacked a flotilla of French coasting vessels, captured four, drove two on shore, and compelled the others to put back.
In the spring of 1811 he was in the Adriatic, under the orders of Captain James Brisbane [q. v.], and in the autumn had for some months a semi-independent command there. On 28 Nov. he was lying at Lissa, in company with the Active and Unité, when ‘three suspicious sail’ were signalled as in sight from the hill. Maxwell immediately put to sea, and on the morning of the 29th sighted three French frigates. Towards noon the smallest of the three separated from her consorts; she was chased, and in the evening was captured by the Unité. The other two were engaged by the Alceste and Active [see Gordon, Sir James Alexander], Maxwell telegraphing ‘Remember the battle of Lissa’ [see Hoste, Sir William]. After a sharp action of about an hour and a half, one of the French frigates, the Pauline, fled; the other, the Pomone, defended herself for half an hour longer, and then, having lost her main and mizen masts, surrendered. Neither the Alceste nor Active was able to chase the Pauline, which got into Brindisi. Her captain was severely punished by Napoleon (James, v. 262; Troude, iv. 146, 149; Chevalier, iii. 391). In 1812 Maxwell was appointed to the Dædalus, in which he sailed for India in charge of a fleet of Indiamen. On 2 July 1813 the Dædalus was wrecked off the coast of Ceylon. Maxwell returned to England, and, being acquitted of all blame, was nominated a C.B. in 1815.
In October he was again appointed to the Alceste, at the desire of Lord Amherst [see Amherst, William Pitt, Earl Amherst], going out as ambassador to the emperor of China. The Alceste sailed from Spithead on 9 Feb. 1816, and anchored off the Pei-ho on 28 July. Lord Amherst landed on 9 Aug., directing the ship to meet him at Canton, whither he proposed to travel overland from Pekin. Maxwell took the opportunity of exploring the Gulf of Pechili, the west coast of Corea—till then unknown except by hearsay, and drawn on the chart by imagination—and the Loo-Choo Islands. The results were afterwards ably described by Captain Basil Hall [q. v.] of the Lyra brig, then in company with the Alceste, in his ‘Account of a Voyage of Discovery to the Western Coast of Corea and the Great Loo-Choo Island,’ 1818, 4to. The Alceste arrived off the mouth of the Canton river on 2 Nov., and Maxwell, unable to get any satisfactory answer to his application for a pass, determined to go up the river without one. As he approached the Bocca Tigris, a mandarin came on board and ordered him to anchor at once; if he attempted to go on, the batteries would sink the ship. Maxwell sent back an angry answer, and the Alceste passed on, scattering the war-junks which attempted to stop her, and silencing the batteries for the time by a single well-directed broadside. Without further molestation she arrived at Whampoa, where Lord Amherst re-embarked on 21 Jan. 1817. The Lyra was sent to Calcutta with despatches for the governor-general, and the Alceste, pursuing her voyage by herself, entered the Straits of Gaspar on the morning of 18 Feb.
These straits, exceedingly dangerous even now, were then little more than explored, and the charts were very imperfect. About eight o'clock the ship struck on a rock about three miles from Pulo Leat. It was at once found that she had sustained fatal injuries. Everyone was landed on the island, together with such stores as time permitted, but on the third day the wreck was taken possession of by swarms of Malay pirates, who threatened the encampment on shore. On the morning of the 19th Lord Amherst and his staff had been sent on to Batavia in two boats, under the command of Lieutenant Henry Parkyns Hoppner, a son of John Hoppner the artist. Some two hundred men remained on this inhospitable island, without clothes, with a very scanty supply of food, and beset by ferocious savages. The perfect order preserved has always been justly considered one of the splendid triumphs of discipline over brute instinct. They were relieved on 3 March by the arrival of the East India Company's ship Ternate,