Could be a Peanut worm or Eunicid worm. Not typically harmful really but they can start to take a bite or two out of soft corals (like xenia?). They can get quite big though eventually and also eat snails I've read. Might try to catch it with a bottle trap near its hole.
Good luck. And relax, afterall, free worm!!
