Pringle, Thomas, active 1782-1797, Admiral