Following the eventual surrender of Ancona at the end of 1799 Fontanelli was repatriated to France, where in 1800 he was reassigned to command a light infantry battalion of the Legione Italica. At the head of this he followed Bonaparte in the crossing of the Alps and the Marengo Campaign.