Scapegoated for the loss of the German battleship Tirpitz, Ehrler was court-martialled, stripped of his command and sentenced to three years and two months Festungshaft [de] (honorable imprisonment).[1] Ehrler's sentence was later commuted and his loss of rank rescinded, and in February 1945 he was transferred to Jagdgeschwader 7.