The end of the world according to Isaac Newton