Hard to tell from the pic. Don't panic. As long as it is still attached to the rock, it isn't dead. It seems to still have color, so that's a good sign. Leave it alone but keep an eye on it. If it lets go of the rock and tumbles around the tank, then it's time to remove it.