Canaris was executed for high treason. The Nazis accused him of plotting to overthrow the regime. However, it is believed that he was actually executed because he was a threat to Hitler. Hitler knew that Canaris was a powerful and influential figure, and he feared that Canaris would eventually turn against him.
Unmasking Wilhelm Canaris: A Quiz on the Intriguing Life of Germany's Enigmatic Admiral