My opinion depending on the exact species of annelid, It very could be killing your coral, they also will eat fish snails, I would recommend removing it with a stocking with food inside, it will crawl in then get tangled and making capture much easier, it you can not identify the exact species of its taxonomy then remove it to be sure.
Mark