Yes but producing things locally improves resilience and allows for decentralization. Large container shipping is a feature of free market capitalism and highly centralized industries. In a decentralized economy there wouldn’t be anywhere near as much demand for container shipping.
Except several experts have surmised that at 3ºC we will experience civilizational collapse. Stefan Rahmstorf, for example, said recently that “We simply wouldn’t reach three degrees because… we’d be in such deep trouble that basically the economy collapses.”