 Hammann was freed in April 1945 and was briefly employed as a municipal administrator.In December 1945, he was arrested and held for three months by the American authorities for "letting his work [be] influenced by his political beliefs".According to American reports and West German Social Democrats, Hammann illegally staffed his office with fellow Communists.