The book When Breath Became Air by Dr. Paul Kalanithi tells the story of his dying. I found it very liberating to learn more about the process from a trauma expert. I'm also slowly making my way through a more medical book currently called How We Die that outlines the actual body processes of the ways we die. I cannot recommend it highly enough.
https://www.goodreads.com/book/show/49286.How_We_Die