When it shocks you, there is a a small period before it can reapply the debug. Use this to fire your crossbow or stab it with a pike.

More Cnidaria Encountering Tips