This left Mary without any family in France ( Princess Louise Mary had died of smallpox ) .
The next year , when James Francis Edward was expelled and Louise Mary died of smallpox , Mary was very upset ; according to Mary 's close friend Madame de Maintenon , Mary was `` a model of desolation '' .