there are over 100 species of the Bobbit Worm "Actually called Eunice worms and only 1 worms is called Bobbit worm.) and its almost impossible to actually know if its going to be predatory, opportunistic or harmless algae eater. i have one in 1 of my 3 rocks and it hasnt done anything harmful yet, and theres also a smaller one that lives more in the sand. if you are afraid it will start harming your tank creatures, take out that frag or whatever zoa piece its living in and try to get it out.
edit just realised you already got it out, it looks very tiny and almost harmless just slithering about, i feel bad for the ones ive killed but i didnt want to risk them possibly being a big species.