To neutralize the magnetic field of (a ship, for example).
To erase information from (a magnetic disk or other storage device).