Hammering a permanent magnet may cause it to lose its magnetism.
Which of the following ways will NOT cause a magnet to lose its magnetism?