Britain and France resumed their war in 1803, just after the Purchase. Both challenged American neutrality and tried to disrupt American trade with its enemy. The presupposition was that small neutral nations could benefit from the wars of the great powers. Jefferson distrusted both Napoleon and Great Britain, but saw Britain (with its monarchism, aristocracy and great navy and position in Canada) as the more immediate threat to American interests. Therefore, he and Madison took a generally pro-French position and used the embargo to hurt British trade. Both Britain and France infringed on U.S. maritime rights. The British infringed more and also impressed thousands of American sailors into the Royal Navy; France never did anything like impressment. Jefferson signed the Embargo Act in 1807, which forbade all exports and imports. Designed to hurt the British, it hurt American commerce far more. The destructive Embargo Act, which had brought U.S. trade to a standstill, was rescinded in 1809, as Jefferson left office. Both Britain and France remained hostile to the United States. The War of 1812 was the logical extension of the embargo program as the United States declared war on Britain. However, there was never any sense of being an ally of France and no effort was made to coordinate military activity.