How to remove mainboard screw?

I recieved a replacement board from support for my AMD Ryzen 5 framework. I’m currently repoving screws to remove my old mainboard. One of the screws doesn’t come out but just spins both ways when its screwed.

How do I remove it?