During the campaign of 1809 Baraguey d'Hilliers served under Viceroy Eugène de Beauharnais. At the Battle of Piave River he commanded a two-division corps. He also distinguished himself at the Battle of Raab where he led one division of his corps. He then served for some time as governor of the County of Tyrol with orders to pacify the region. In 1810 he was sent to Spain where he served in Catalonia. Recalled from Spain, he served in the Russian campaign of 1812 where his troops were assigned to guard Smolensk after that city was captured by the French. During the retreat from Moscow, Emperor Napoleon ordered Baraguey d'Hilliers to march east to meet him. However, instead of joining Napoleon, his division marched into the jaws of the advancing Russian army. The Russians surrounded one of his brigades and forced it to surrender on November 9. For this incident, Baraguey d'Hilliers fell into disgrace with the emperor. He died in January 1813 in Berlin.