Rikki-tikki kills all of Nagaina's eggs except one. He carrys the egg to the house.
Teddy and his mother and father sat stone-still. Nagaina was coiled up ready to strike Teddy. Rikki-tikki comes in with Nagaina's last egg and distracts her from Teddy and Teddy's father pulls him out of harms way.
Rikki-tikki chases Nagaina into her rat-hole where her and Nag lived and Rikki-tikki went in holding onto her tail. He came out of the hole and said "it is all over, the widow will never come out again."
Rikki-tikki slept well. He kept the garden safe from any snakes and kept the family safe as well.