From John DiMarco:
Code 000 destruct 0! As a last resort, to prevent their ships from falling into the wrong hands or other similarly dire consequences, Starfleet captains will sometimes initiate the self-destruct sequence. These sequences can vary between different ships (or space stations), and in this video we will be looking at the many self-destruct scenarios in Star Trek.