Cobra Trap is the title of a short story collection by Peter O'Donnell featuring his action/adventure heroine Modesty Blaise.
The stories featured in the collection are "Bellman", "The Dark Angels", "Old Alex", "The Girl With the Black Balloon" and "Cobra Trap".
Modesty, who has been recently diagnosed with an inoperable brain tumor and given only a short time to live, chooses to give her life to save a train full of innocents, including many children, from a group of rebels.
When Peter O'Donnell brought his comic strip to a close five years later he chose to do so with a more upbeat story promising future adventures.
Elements of several other stories (in particular "Old Alex" and "Bellman") also appeared in the comic strip prior to being featured in Cobra Trap.