 Harman was appointed captain of the 58-gun "Gloucester" in 1664.In the spring of 1665 Harman was lieutenant of the "Royal Charles", in effect captain of the ship.The Second Anglo-Dutch War was declared in May 1665.