Heinrich von Kleist wrote Prinz Friedrich von Homburg in 1809 and 1810. Before the battle of Fehrbellin the prince is told not to attack without an explicit order. He attacks anyway and wins. He is sentenced to death for disobedience.
Near the end of the play the old colonel Kottwitz defends him before the Elector. Herr, das Gesetz, das höchste, oberste, / Das wirken soll, in deiner Feldherrn Brust, / Das ist der Buchstab deines Willens nicht. Sir, the highest law that should work in your general’s breast is not the letter of your will.
Does the Elector want to make the army a tool, he asks, gleich dem Schwerte, / Das tot in deinem goldnen Gürtel ruht, like the sword that lies dead in your golden belt? The Elector asks in return: Meinst du das Glück werd immerdar, wie jüngst, / Mit einem Kranz den Ungehorsam lohnen? Do you think luck will always reward disobedience with a wreath, as it did just now?