In 1745, he commanded HMS Strafford in the West Indies, and in 1746 HMS Windsor on the home station, when he sat as a member of the courts-martial on Admirals Richard Lestock and Thomas Mathews. In 1747, appointed by the First Lord of the Admiralty - the 4th Duke of Bedford - Legge went out as commodore and commander-in-chief at the Leeward Islands, with orders to supersede his predecessor, Commodore Fitzroy Henry Lee, and try him by court-martial for misconduct and neglect of duty. Lee, however, was sent home without being tried. Legge shortly afterwards died, on 19 September 1747.
