During the campaign, Bonaparte's army badly defeated the Sardinian army and forced the Kingdom of Sardinia to sue for peace. The small Austrian Auxiliary Corps, which fought under Sardinian command, was placed in a tight spot when its allies laid down their arms. Since its previous commander, Giovanni Marchese di Provera had been captured at the Battle of Millesimo, Beaulieu appointed Schübirz to bring the Corps to safety. In this he was successful, though he had to make a circuitous march in order to get away.