Anemones move because they are not in an ideal place. That problem will need to be addressed if you plan on keeping it. As for it surviving, It's hard to say. If the foot is ripped it may not, but I have seen them survive some intense injuries.
As a matter of fact, someone gave me a literally shredded carpet anemone about 4 months ago. I put it in my sump and it disappeared in the rock. A month later it popped out all healed up. Now it's thriving.
Since it's still attached, I would say the odds are good it will live.