Power rails can be crafted and previously-placed power rails can be broken with bare hands or any tool, dropping themselves as items. To remove a power rail, attack it.
A power rail will also be removed and drop itself as an item:
- if the object beneath it is moved, removed, or destroyed.
- if water flows into the power rail's space.
If lava flows into a power rail's space, the power rail will be destroyed without dropping itself as an item.