McDonell, James, active 1778-1784, Captain