Nagaina threatened Teddy, and Ricky told her he had killed all of her eggs except one. She followed him, and eventually he followed her down her hole and killed her.
After Rikki kills Nag, the father shoots him. Rikki thinks it’s silly because the snake is already dead. Nagaina thinks that he killed her husband too, so she threatens Teddy.
"I will settle my account with you presently. Look at your friends, Rikki-tikki. They are still and white; they are afraid. They dare not move, and if you come a step nearer I strike.''
Rikki brings up one of her eggs, telling her all the others are dead and this one is the only one left. She follows him, angry and desperate to save her last baby. Darzee sees Rikki go down the snake’s hole, and starts to sing a song about his death.
Rikki-tikki, covered with dirt, dragged himself out of the hole leg by leg, licking his whiskers.
That is the end of the danger, because all of the snakes in the garden are dead. Rikki will keep the others from hurting the people, and they will all live happily ever after because a mongoose in the garden means no more snakes.