His military career was interrupted when the French armies were dissolved in 1815, but in 1817, he served again as a lieutenant. He participated in 1823 in the French expedition to Spain.