In 1813 he rejoined Wellington's army, commanding a Portuguese brigade at the Siege of San Sebastian, the Passage of the Bidassoa and the Battle of Nivelle. He was again severely wounded near Bayonne. He was made brevet colonel and knighted in 1814, and made a CB the following year.