Push the button, and jerk it off.
You may have to gently push down before pulling up to release the button.
It sometimes helps to use two people, one for the button and one for the headresst.
Bosch Master, ASE Master, L1
33 years MB technician