Minecraft wiki entry for Headless_pistons, associated text: Once the piston is headless, powering it will ensure that it stays headless. Once unpowered, it will retract, gain its head back - however, anything placed where the head would be before it is retracted is immediately destroyed, due to how pistons are coded.