Did Martin Luther publish any doctrinal material of managing one's own physical death? As Christianity often comes hand-in-hand with the subject of death we often associate an RIP tombstone with a priest, pastor, or some religious representative at a burial site.  However as we usually live many years before 'meeting our maker' I was wondering if their was any reformed perspective on managing our preparation for that eventual certainty?  For instance, someone like Luther, who represent Protestant thought in so many ways; Did Luther publish any doctrinal perspectives on managing our death, aside for the obvious rule of faith in Christ to ensure a blessed hereafter?
Luther brings up death quite a bit.  He usually positive about it.
For example, Luther compares death to childbearing:

“When a woman is in travail she has sorrow; but when she has recovered, she no longer remembers the anguish, since a child is born by her into the world” [John 16:21]. So it is that in dying we must bear this anguish and know that a large mansion and joy will follow [John 14:2]. (Luther's Works Vol 42.100)

Luther sees death as a monster we must face and therefore should think about it often ensuring our faith in forgiveness is greater and when death finally comes, not to think of it any longer but to rely on our sense of forgiveness and think of nothing else, for this will be a day of trail:

Death looms so large and is terrifying because our foolish and fainthearted nature has etched its image too vividly within itself and constantly fixes its gaze on it. Moreover, the devil presses man to look closely at the gruesome mien and image of death to add to his worry, timidity, and despair. Indeed, he conjures up before man’s eyes all the kinds of sudden and terrible death ever seen, heard, or read by man. And then he also slyly suggests the wrath of God with which he [the devil] in days past now and then tormented and destroyed sinners. In that way he fills our foolish human nature with the dread of death while cultivating a love and concern for life, so that burdened with such thoughts man forgets God, flees and abhors death, and thus, in the end, is and remains disobedient to God.
We should familiarize ourselves with death during our lifetime, inviting death into our presence when it is still at a distance and not on the move. At the time of dying, however, this is hazardous and useless, for then death looms large of its own accord. In that hour we must put the thought of death out of mind and refuse to see it, as we shall hear. The power and might of death are rooted in the fearfulness of our nature and in our untimely and undue viewing and contemplating of it. (Luther's Works Vol 42.100)

Luther saw the guilty waving finger of the Devil as like the fiery vipers biting Israel in the desert.  The only cure was too look at Jesus on the cross.  This is the deepest insight into how to face death not being bothered by our sins in the final hour.  He say's you must not be captivated by sin, looking at your own many sins directly, or looking at all the sinners falling into hell.

You must turn your thoughts away from that and look at sin only within the picture of grace. Engrave that picture in yourself with all your power and keep it before your eyes. The picture of grace is nothing else but that of Christ on the cross. (Luther's Works Vol 42.104)