It's a silly show that's not bound to the rules of logic. As Darth said, the show would be over if the Professor found a way to leave the island.
By the way, your question is similar to a lyric in "Weird Al" Yankovic's song "Isle Thing", a parody of Tone-Loc's song "Wild Thing".