Just take out the wood/moss, place in a cool bucket somewhere for say a week, the moss will last if kept moist.
The algae will die.
Rinse very well. Then set aside for 1 day at least.
Then return to the tank.
This will hurt the algae a lot.
Regards,
Tom Barr