War of the Oranges
Though the War of the Oranges ended in the same year it started, 1801, Leonor stayed in England until 1809. The reason for her return was her brother's appointment as Commander of the Portuguese Legion and as a major-general in Napoleonic Forces in Spain. Similarly, Leonor's daughter, Juliana, became the official mistress to General Jean-Andoche Junot, General of Napoleonic Forces in Spain and Portugal. Though she had security through her family relations in the invading Napoleonic forces, Leonor sent her only son, João Carlos Ulrico de Almeida e Oyenhausen, Count of Oyenhausen-Groewenbourg, to join the Portuguese Royal Court in Rio de Janeiro.