To make something nonmagnetic by removing its magnetic properties.
To erase the contents of a magnetic storage device.