By what year had the situation in Europe cool down enough so that Joao VI would have been able to safely return to Lisbon?
However, the King of Portugal remained in Brazil until the Liberal Revolution of 1820, which started in Porto, demanded his return to Lisbon in 1821.