Fetching details from the dictionary...
way to die; means of dying
quality of one's death
潔い死に方をしたいものだ。
I want to die with dignity.
武士は名誉ある死に方を求めた。
Samurai sought a death with honor.
父が残した日記には死に方についての記録があった。
My father's diary contained records about how he wanted to die.