The merciful end was a relief after months of suffering.
Idiomatic Expressions for coup de grace
Phrase: put something out of its misery with a coup de grace
Meaning: to end the suffering or existence of something that is already in a hopeless or dying state
Usage: The injured animal was put out of its misery with a coup de grace from the hunter.