Dafuq Solution

When all else fails, rely on a nonsensical ending to save you.

An ending to a story that's out of nowhere, unbelievable, or that contradicts a point made earlier in the story (i.e superglue being able to be removed from surfaces by sweat). This UnTrash can be seen as an Ex Machina mixed with an ending since the characters who are endangered by the conflict are saved by an underlying and therefore unmentioned fact, object's feature, or ongoing event which rescues them from the threat of the story (such as going to jail or being killed by a Murderer) and allows the story to happily end.