
Confronted by a disaster, with a lot of emotional people whining and crying with someone dying or about to die that adds urgency, and finally the lead character gathers his or her wits and she finally overcomes the threat and wins.
Interesting: a lot of King's books follow this plot line.