Teresa Cristina died three weeks after their arrival in Europe, and Isabel and her family moved to another place while Pedro settled first in Cannes and later in Paris.
Pedro's last couple of years were lonely and melancholic, as he lived in modest hotels without money and writing in his journal of dreams in which he was allowed to return to Brazil.
He never supported a restoration of the monarchy, once stating that he had no desire "to return to the position which I occupied, especially not by means of conspiracy of any sort."
One day he caught an infection that progressed quickly into pneumonia.
Pedro rapidly declined and died at 00:35 on 5 December 1891 surrounded by his family.
His last words were "May God grant me these last wishes—peace and prosperity for Brazil".
While the body was being prepared, a sealed package in the room was found, and next to it a message written by the Emperor himself: "It is soil from my country, I wish it to be placed in my coffin in case I die away from my fatherland."

Isabel wished to hold a discreet and private burial ceremony, but she eventually agreed to the French government's request for a state funeral.
On 9 December, thousands of mourners attended the ceremony at La Madeleine.
Aside from Pedro's family, these included: Francesco II, former king of the Two Sicilies; Isabel II, former queen of Spain; Philippe, comte de Paris; and other members of European royalty.
Also present were General Joseph Brugère, representing President Sadi Carnot; the presidents of the Senate and the Chamber of Deputies as well as their members; diplomats; and other representatives of the French government.
Nearly all members of the Institut de France were in attendance.
Other governments from the Americas and Europe sent representatives, as did Ottoman Turkey, China, Japan and Persia.
Following the services, the coffin was taken in procession to the railway station to begin its trip to Portugal.
Around 300,000 people lined the route under incessant rain and cold.
The journey continued on to the Church of São Vicente de Fora near Lisbon, where the body of Pedro was interred in the Royal Pantheon of the House of Braganza on 12 December.

The Brazilian republican government, "fearful of a backlash resulting from the death of the Emperor", banned any official reaction.
Nevertheless, the Brazilians were far from indifferent to Pedro's demise, and "repercussions in Brazil were also immense, despite the government's effort to suppress.
There were demonstrations of sorrow throughout the country: shuttered business activity, flags displayed at half-staff, black armbands on clothes, death knells, religious ceremonies."
Masses were held in memory of Pedro throughout Brazil, and he and the monarchy were praised in the eulogies that followed.
Teresa Cristina died three weeks after their arrival in Europe, and Isabel and her family moved to another place while Pedro settled first in Cannes and later in Paris. Pedro's last couple of years were lonely and melancholic, as he lived in modest hotels without money and writing in his journal of dreams in which he was allowed to return to Brazil. He never supported a restoration of the monarchy, once stating that he had no desire "to return to the position which I occupied, especially not by means of conspiracy of any sort." One day he caught an infection that progressed quickly into pneumonia. Pedro rapidly declined and died at 00:35 on 5 December 1891 surrounded by his family. His last words were "May God grant me these last wishes—peace and prosperity for Brazil". While the body was being prepared, a sealed package in the room was found, and next to it a message written by the Emperor himself: "It is soil from my country, I wish it to be placed in my coffin in case I die away from my fatherland."
Isabel wished to hold a discreet and private burial ceremony, but she eventually agreed to the French government's request for a state funeral. On 9 December, thousands of mourners attended the ceremony at La Madeleine. Aside from Pedro's family, these included: Francesco II, former king of the Two Sicilies; Isabel II, former queen of Spain; Philippe, comte de Paris; and other members of European royalty. Also present were General Joseph Brugère, representing President Sadi Carnot; the presidents of the Senate and the Chamber of Deputies as well as their members; diplomats; and other representatives of the French government. Nearly all members of the Institut de France were in attendance. Other governments from the Americas and Europe sent representatives, as did Ottoman Turkey, China, Japan and Persia. Following the services, the coffin was taken in procession to the railway station to begin its trip to Portugal. Around 300,000 people lined the route under incessant rain and cold. The journey continued on to the Church of São Vicente de Fora near Lisbon, where the body of Pedro was interred in the Royal Pantheon of the House of Braganza on 12 December.
The Brazilian republican government, "fearful of a backlash resulting from the death of the Emperor", banned any official reaction. Nevertheless, the Brazilians were far from indifferent to Pedro's demise, and "repercussions in Brazil were also immense, despite the government's effort to suppress. There were demonstrations of sorrow throughout the country: shuttered business activity, flags displayed at half-staff, black armbands on clothes, death knells, religious ceremonies." Masses were held in memory of Pedro throughout Brazil, and he and the monarchy were praised in the eulogies that followed.
Pedro II of Brazil