In early August, during the Battle of Uman, his army was decisively beaten and together with General Nikolai Kirillov, he was captured by the Germans. For this, he was sentenced to death by Stalin in Order No. 270. He remained in a German POW camp until late April 1945, when he was liberated by the Americans, and handed over to the Soviets. At the end of December that year he was arrested and imprisoned in the Lefortovo Prison in Moscow.