Posttraumatic bliss
A term from Jennifer Michael Hecht for the shift in attention that follows a near-death event or a terminal diagnosis, when a person enjoys the present more and cares less about trivial things.
From McGonigal, 2011, ch. 10. McGonigal, J. (2011). Reality is broken: why games make us better and how they can change the world. New York: Penguin Press. ISBN 978-1-59420-285-8 (hardcover). (The copy is an e-book whose text file has no copyright page; its file identifier is 9781101475492, not matched in Open Library. No DOI.)