In the course of the Tyrolean Rebellion (1809), during heavy fighting on the , he offered his life to the Bavarian Field Marshal, Karl Philipp von Wrede, in an effort to obtain mercy for the resistance fighters and prevent the destruction of St. Johann. He was sentenced to death by hanging. At the last moment, he received a pardon from the commander of the French forces, General François-Joseph Lefebvre.