In 1944, Schacht was arrested by the Gestapo after the assassination attempt on Hitler on 20 July 1944 because he allegedly had contact with the assassins. Subsequently, he was interned until the end of the Third Reich in the concentration camps Ravensbrück and later at Flossenbürg. In the last days of the war, he was one of the 134 special and clan prisoners who were transported by the SS from Dachau to South Tyrol. This location is within the area named by Himmler the "Alpine Fortress", and it is speculated that the purpose of the prisoner transport was with the intent of holding hostages. They were freed in Niederdorf, South Tyrol, in Italy, on 30 April 1945.