Yes, crabs do release a toxin when they die. This toxin is called pyrokinin and it is released into the crab's bloodstream. When the crab dies, the pyrokinin is released into the water and can be deadly to other animals that come in contact with it.