He reentered military service during the War of the Pyrenées against Spain with the rank of captain of the mountain chasseurs. On 30 August 1793, he was promoted to the rank of brigadier general and fought with the Army of the Eastern Pyrenées, distinguishing himself during the capture of Spanish Cerdanya under the orders of General Dagobert de Fontenille. He then joined the Army of the Western Pyrenées from 1794 to 1795, where he was promoted to the rank of divisional general. He won numerous victories against the enemy forces, particularly on 12 August 1794 at Sainte-Engrâce and Olloqui, on 4 September 1794 at Lescun, on 24–25 November 1794 at Orthez, and on 12 May 1796 during the attack on enemy positions between Glossua and Elgoibar, where he made many prisoners. On 9 June 1795 he was dismissed for political motives by "représentants en mission", special envoys of the National Convention, before being definitively reinstated on 13 June of the same year.