 In 1822 Westphal took command of HMS "Jupiter", and in her took Lord Amherst to India to serve as governor general.Westphal was knighted on his return to England and served as flag captain to Sir George Cockburn in 1832 but was invalided out of active service in 1834.Westphal retired to Hove in Sussex where he lived (1836–1875) until his death.