A Philosophical Death

It is sometimes forgotten that one of the most important goals of medicine is to help people achieve a good death.
What might we learn from the deaths of the great philosophers?