Most of the miniature PCB adhesive mount accelerometers are supplied with a removal tool.  This should be used to twist off the accelerometer.  If you do not have a removal tool, or you have a larger cube or hex accelerometer then use a spanner that fits and again twist off the accelerometer.