Interjection
what a way to go (set phrase) A remark on the unfortunate, exceptional, or unusual nature of somebody's death.