Remove the strainer and place it between some rocks to allow the anemone to move out where it can attach to something.
I make safety nets to cover powerhead strainers so that things like anemones never get sucked in and algae cannot cover the intake and restrict the flow. I can take a pic and describe how to make one if you want.