 He was captain of the flagship of the Duke of York, the future King James II of England, in the Battle of Lowestoft in 1665.The Dutch were defeated but escaped when Harman reduced sail due to a mistaken order.There was a great scandal over this incident, but Harman was completely absolved and was promoted to rear admiral.