What was the main goal of the Embargo Act?

to improve the economy of the United States
to raise the prices of US consumer goods sold in Britain and France
to limit the export of US goods to countries around the world
to attempt to force Britain and France to allow the United States to trade freely