There are several examples of characters doing the right thing at the right time and making important decisions, which saves their own lives and the lives of others. When Rikki-tikki meets Nag for the first time, Darzee warns him immediately before Nagaina can attack him from behind, and Rikki-tikki does the right thing at the right moment by jumping into the air as high as he can to avoid Nagaina's strike. Shortly after dodging Nagaina's strike, Rikki-tikki impulsively does the right thing at the right moment by attacking Karait before he can bite Teddy. Fortunately, Teddy is unharmed, and Rikki-tikki kills the deadly snake.
Later that night, Rikki-tikki has a conversation with Chuchundra and discovers that Nagaina has a wicked plan. Rikki-tikki then follows Nag into the bathroom late at night and waits for the perfect moment to strike when Nagaina cannot help him. Rikki-tikki's decision to strike while Nagaina is asleep is significant, and he ends up saving Teddy's father's life by killing the unsuspecting Nag, who cannot survive without Nagaina's help.
The next day, Rikki-tikki learns from Darzee that Nagaina's eggs are unprotected in the melon patch because Nagaina is mourning the death of Nag. Darzee helps Rikki-tikki destroy the eggs by distracting Nagaina, which is another example of doing the right thing at the right time. When Nagaina realizes that Rikki-tikki is destroying her eggs, she travels to the bungalow, where she threatens to bite Teddy. Instead of destroying all of Nagaina's eggs, Rikki-tikki once again does the right thing at the opportune moment by saving the last egg, which he uses to prevent Nagaina from biting Teddy. Rikki-tikki is aware that the egg will distract Nagaina, which is exactly what it does. He ends up saving Teddy's life, and he eventually kills Nagaina.