All that Samuelson showed was that any exogenous change could harm a trading economy; he did not argue that an appropriate response to that unfortunate situation was to abandon free trade. Consider an analogy.