Tancock, John, active 1798-1837, Captain