The best description of the purpose of the Non-Intercourse Act is:
to forbid the U.S. from trading with Britain and France so the countries would recognize U.S. trading rights.
The Non-Intercourse Act aimed to pressure Britain and France—including by restricting trade with those nations—into respecting American shipping rights during the ongoing conflicts of the Napoleonic Wars.