He spent the last months of his life writing "Consolations in Travel", an immensely popular, somewhat freeform compendium of poetry, thoughts on science and philosophy. Published posthumously, the work became a staple of both scientific and family libraries for several decades afterward. Davy spent the winter in Rome, hunting in the Campagna on his fiftieth birthday. But on 20 February 1829 he had another stroke. After spending many months attempting to recuperate, Davy died in a hotel room in Geneva, Switzerland, on 29 May 1829. He had wished to be buried where he died, but had also wanted the burial delayed in case he was only comatose. He refused to allow a post-mortem for similar reasons. But the laws of Geneva did not allow any delay and he was given a public funeral on the following Monday, in the Plainpalais Cemetery, outside the city walls.