Demagnetizing a magnet by hitting it with a hammer
One can demagnetize a magnet in several different ways. One would be to hit both ends of the magnet using a hammer.
This causes the ordering in the magnet to be destroyed. Another is to rub one magnet with another one. This should demagnetize one of the magnets.
Heating a Magnet can demagnetize a magnet
The following are some methods to demagnetize a magnet :