At Ulm in October 1805, he surrendered the entire army to Napoleon. A few of his officers, including Prince von Schwarzenberg, broke through the French defenses in a massed cavalry charge and escaped, but most of the Austrian high command was captured with 25,000 men, 18 generals, 65 guns, and 40 standards. The general officers received a parole that required them to abstain from combat with France, removing the bulk of Habsburg commanders from the possibility of service in the upcoming campaign of the Upper Danube.