The Embargo Act of 1807 was a law enacted by the United States Congress, prohibiting American ships from trading with foreign nations in an attempt to protect U.S. interests and avoid entanglement in European conflicts. This act was primarily a response to ongoing British and French interference with American shipping, including the impressment of American sailors. Ultimately, the embargo aimed to pressure Britain and France into respecting American neutrality and rights on the high seas.