[Physics] How does a “permanent” magnet with switch work

electromagnetism

We have several magnetic stands on my university, see here. This stand has a button which makes you able to turn the magnet off and on. It is quite hard to press the button, it seems like something mechanical. But it must be a permanent magnet since it doesn't run on electricity, so I wondered, how is it possible to "turn off" a permanent magnet? Or am I missing something?

EDIT

In reaction to CuriousOne:

If the button causes the magnet inside to move, than how does this work since the button seems to be one solid pin inside the stand, see the two images.

enter image description hereenter image description here

Best Answer

The mechanical button lowers or raises the magnet, which changes the effective force between it and the steel plate that the base attaches to. You are correct, one can not turn a permanent magnet off this way, but one can greatly change the force between it and a magnetic material by changing the distance.

After looking it up I have to correct myself. One particular design doesn't actually lower or raise the magnet but it turns a cylindrical magnet in an assembly between two magnetic jokes. This is a very important difference to my original suggestion, which would never completely eliminate the force between the magnet and the base plate. In the design shown in https://en.wikipedia.org/wiki/Magnetic_base it's the change in symmetry that can essentially completely cancel the field. It's quite ingenious, really.