Just think of all the people who visited the island and left them stranded.
The Professor may have given them no choice.
Here is a list of some of his inventions.
https://www.mentalfloss.com/article/54580/11-professors-best-inventions-gilligans-island