While it was not the desired end, he knew it was the inevitable end. It appears that taking one's own life, whether directly or not, is relative to the situation.
True, but it was not through his actions that he lost his life. He was not the proximate cause of his own death.