When startled or threatened, a porcupine employs multiple strategies to discourage potential predators. It emits a pungent odor that warns other creatures away, rattling its quills and chattering its teeth loudly to provide an additional auditory warning. If cornered, it raises its quills, faces away from the danger, and charges backwards at full speed, impaling any unlucky creatures is in its path.