In case of danger, the stick insect runs away, leaving its leg to the predator.