Many corals will periodically shed their mucus coating. It is the slime you feel when handling a coral. Lots of reasons why it will shed, the majority of them are natural and your coral should recover. By the way, that slime isn't necessarily dangerous to the tank, but under a microscope it is some of the filthiest material there is, it's loaded with bacteria.