Betton, David, active 1778-1784, Captain RN