Agricola's retirement was short-lived, as on 1 September 1939 Nazi Germany invaded Poland, marking the start of World War II in Europe, and Agricola was reactivated and appointed as commander of the city of Oppeln. There he spent the following two years on an inactive front, witnessing the Invasion of the Soviet Union on 22 June 1941.