Defied Trope TV Tropes
A Defied Trope happens when a character knows, In-Universe, that a trope is about to happen, either due to being Genre Savvy or because someone is trying to invoke it, and then actively attempts to avert it, subvert it, or invert it. They might succeed or they might fail. The point is that the character is attempting to avoid a straight run of the trope, in-universe.