Pull headrest upwards firmly.
If necessary, pull headrest to the uppermost notch upwards and swing to and fro at the same time.