some animals will chew off a limb to get out of a trap

When chewing on oneself to escape, I believe it's outophagy.