Why was the Embargo Act repealed after two years?

The act had accomplished its goals and was not necessary.
Troubles in the Northwest Territory took precedence.
The war between Britain and France had ended.
It was unsuccessful and hurt the American economy.