Carpet Anemones are known to have one of the worst stings. But I highly doubt that a single sting from an anemone would kill a fish. Its possible but unlikely. I have seen my longnose hawk bump into my carpet a few times because its retarded and he shoots off really fast like he got stung. But he isnt dead.
You said you dropped a rock on it right? It may have had internal injuries.