In late 1807 Congress passed the Embargo Act to punish Britain and France. American merchants lost huge amounts of money because of the act, which prevented merchants from selling goods to either nation. In 1809 Congress replaced the embargo with the Non-Intercourse Act. That law did not work either.