I would not that death should take me asleep. I would not have him merely seize me, and only declare me to be dead, but win me, and overcome me. When I must shipwreck, I would do it in a sea, where mine impotency might have some excuse; not in a sullen weedy lake, where I could not have so much as exercise for my swimming.
Where death without resistance or death after resistance is the only way, neither party should think of resorting to law-courts or help from the government.
From a Buddhist point of view, the actual experience of death is very important. Although how or where we will be reborn is generally dependent on karmic forces, our state of mind at the time of death can influence the quality of our next rebirth. So at the moment of death, in spite of the great variety of karmas we have accumulated, if we make a special effort to generate a virtuous state of mind, we may strengthen and activate a virtuous karma, and so bring about a happy rebirth.
To my mind, there are two things that, in life, you can do about death. Either you can choose to ignore it, in which case you may have some success in making the idea of it go away for a limited period of time, or you can confront the prospect of your own death and try to analyze it and, in so doing, try to minimize some of the inevitable suffering that it causes. Neither way can you actually overcome it.