Karl Marx was a big fan of ‘Free trade” too.
I have no idea what Karl Marx thought, but Milton Friedman and JM Keynes, the leading capitalist economists of the last 100 years, were both fans of free trade. And actual Marxists are staunch opponents of free trade, ranging from the Warsaw Pact countries of the Cold War era to any number of African kleptocracies. In fact, the poorest countries in the world tend to have the biggest restraints on foreign trade.