Which of the following is NOT a way that a magnet can lose its magnetic properties?