If it is on sand bed, you can move it without damage to the gland because it is not attached to anything other than sand.
Once it got attached to rock or other substrate, you will need to either cut the thread, bother it to get the clam to get rid of the thread, chisel the clam out of the rock, or rip it out (not a good idea...) by force, etc.