Not everyone in the German army was a fan of Hitler during World War II. Such was the case with Erwin Rommel, a German Field Marshal that conspired against Adolf Hitler himself in 1944. A failed assassination attempt led to Rommel's arrest and death sentence However, he was given a choice on how to die.
If there could be a good guy in the Nazi army, Erwin Rommel was him. He was highly respected among his troops and enemies. He was never accused of any war crimes, his captured soldiers were treated humanely, and he ignored the orders to kill Jewish soldiers and civilians.
In order to "come to the rescue of Germany," Rommel agreed to support the conspiracy to go against Hitler, though he opposed an assassination out of fear of a German civil war. When the failed bomb attack against Hitler happened, Rommel's name was one of the first dropped in an interrogation.
When two generals from Hitler's headquarters came to his home and charged him, he was given a choice: face the People's Court or commit suicide quietly, protecting his staff and his family as well. He took a cyanide pill, ensuring his family's safety and a state funeral that claimed he died a hero.