The resilience of economic and social systems to shocks is one of the fundamental goals of sustainable development. One such event that seriously disrupted the global economy was the COVID-19 pandemic. It posed a direct threat to people’s health and lives and also caused an economic crisis. One of the effects of the crisis was the loss of stability in agricultural production with the resulting threat to food security. The foreign trade channel played a vital role in the mechanism of pandemic transmission to the agricultural sector in the world and Poland. This article aims to assess the significance of changes in international trade in agri-food commodities conducted by Polish entities during the COVID-19 pandemic. The research period covers the years 2017–2021, focusing on the years 2020–2021, the period of the COVID-19 pandemic. Such a research period allows comparative analyses during the pandemic and pre-pandemic periods. The following research methods are used in this study: a critical analysis of the literature, the descriptive approach, the comparative method, and verbal logic and descriptive statistical methods. The data used in this article come from the Central Statistical Office (CSO) and cover Poland’s foreign trade turnover according to the International Standard Trade Classification (SITC) used by the United Nations Statistics Department. The COVID-19 pandemic period did not cause a drastic collapse in Polish foreign trade. Short-lived blockages in the flow of goods, which appeared in Q2 2020, resulted in a 14% drop in the value of Polish exports. Already in Q3 2020, foreign trade turnover returned to pre-pandemic levels. In Q2 2020, the value of the exports of agri-food goods decreased by only 3%. For other commodity groups, the export values were 7–40% lower. Agri-food trade proved more resilient to pandemic shocks than trade in non-agricultural sectors. The foreign trade crisis affected the imports of goods more than exports.