In 1801, Baraguey d'Hilliers was appointed Inspector General of infantry and in 1804 he became colonel general of the dragoons. He commanded a dragoon division of the cavalry reserve during the campaign of 1805. He fought under Marshal Michel Ney at the Battle of Elchingen. In 1808 he again became governor of Venice.