World War II broke out in September 1939. Promoted to lieutenant colonel in December 1939, Duval was transferred to Metz to serve on the Maginot Line with the 3rd Army. During the Battle of France, he was taken prisoner along with the general staff by the Germans on 22 June 1940, the day France surrendered to Germany. He escaped to Vichy France soon after.