If the worm has left the tube, it means that it's trying to set up shop somewhere else in the tank. This happens if it is being starved in one area. It is a last-ditch effort to stay alive.
If it is able, it will build a new tube and regrow its crown. However, most of the time in an aquarium the worm dies before this happens.