 He returned to service in January 1819, with the post of commissioner of the dockyard at Kingston, Upper Canada.The post made him senior naval officer in the Canadas, with control over the inland waterways and the port at Quebec.His instructions were to expedite the repair of the vessels at the bases in case of any emergency.