Worms can survive underwater for several weeks as their skin can absorb oxygen from the water. However, they are unable to swim and will eventually drown if they fail to exit the water.