How did Congress attempt to rid the mistakes of the embargo?

To address the mistakes of the embargo, Congress passed the Non-Intercourse Act in 1809, which lifted the embargo on all countries except Britain and France. This act allowed American merchants to trade with other nations and resume their economic activities. Additionally, Congress later repealed the embargo completely in 1810, realizing the negative impact it had on the American economy. These steps were taken to rectify the mistakes of the embargo and restore trade relations with other countries.