After losing both Salò and Brescia, Quasdanovich ordered his brigades to concentrate on Gavardo on 2 August. Then, in an attempt to break through to Wurmser's main army, the Right Column commander ordered a new advance for the following day. He directed Ocskay to reoccupy Salò, then march south to attack Lonato. Marching in the early morning hours from Salò to Lonato, Ocskay's troops unwittingly marched right past Sauret's division heading for Salò. At dawn on 3 August, he surprised and defeated Jean Pijon's French brigade, capturing its commander. However, the Battle of Lonato ended badly for the Austrians. Quasdanovich's other Austrian brigades had been ordered to converge on Lonato, but instead they were forced to defend themselves against aggressive French attacks. Consequently, Ocskay's troops became isolated. Under Bonaparte's supervision, the André Masséna counterattacked Lonato with four brigades at mid-day. Driven from the town, Ocskay with many of his troops was encircled and forced to surrender. A second Austrian brigade under the Prince of Reuss belatedly appeared and freed some of Ocskay's men, but it was soon forced to retreat. The heavy losses compelled Quasdanovich to retreat north into the mountains. On 5 August, Bonaparte concentrated against Wurmser and defeated him in the Battle of Castiglione.