ending noun

ADJ. happy | sad, tragic, unhappy | dramatic | fairy-tale The crowd cheered on the unknown Tunisian, hoping for a fairy-tale ending to the race. | perfect The meal was the perfect ending to a great weekend. | abrupt I was surprised by the abrupt ending to the conversation.

VERB + ENDING have The book has a sad ending.

PREP. ~ to This is a happy ending to a rather sad story.