Royal Navy officer during the American War of Independence, French Revolutionary Wars and Napoleonic Wars. (1752–1815)