Bonaparte abdicated and returned to France after defeat at the Battle of Vitoria .
King Joseph abdicated and returned to France after defeat at the Battle of Vitoria in 1813 .