The episode starts off when Squidward looks outside and it's silent. He thinks that for once he'll have some peace and quiet, that is until SpongeBob and Patrick turn up looking to spend time with him. He slams the door in their face when they decide to invite themselves in. Of course it'll take a little more than having a door painfully slammed in their faces to make them think that Squidward doesn't like them and just as he turns on a public television program, SpongeBob and Patrick appear and come inside to watch TV with him. Squidward leaves the two in his house and gets on his bike. While he's riding, Squidward collides into a cement truck and the truck spills cement on him. He goes through a dumpster, hill and on the ground. Covered in cement and unrecognizable, Squidward finds himself in Jellyfish Fields. Immediately after, SpongeBob and Patrick come across Squidward and, thinking he's an unknown species of animal, name him Smelly and take him to SpongeBob's house. Next, SpongeBob gives Smelly a tour of his house. Gary doesn't take too well to Smelly and so Patrick decides to keep the latter at his house (because he's "always wanted a pet"). Once there, Smelly acts up and a frantic Patrick calls Animal Control. The police soon arrive and surround the area, and so Smelly is taken to the zoo. The next night, SpongeBob and Patrick break into Smelly's cage and try to hide from the Zoo Guards. They hide in a sewer which leads to a place where a type of species that resemble the cement-covered Squidward live. The creatures carry Squidward away and to his surprise, the musician that was on the TV that SpongeBob, Squidward and Patrick were watching is there playing the clarinet. As he's watching the musician, the cement covering Squidward cracks open, and all the creatures start to stare at him.
However, his name was revealed in the credits of this episode.
When Squidward is taken in by the other animals at the end, SpongeBob says "Patrick, Smelly is where he belongs now." to which Patrick replies "Yes. Come, let us go back to where we belong." and this is a reference to the Walt Disney film, The Jungle Book.