Find the motherboard’s manual. It will have instructions for installing and removing both the CPU and the cooler. If the CPU uses a PGA socket, removing it might require a little force.
If you’re sure the clip and the retaining frame are released, but can’t/don’t want to lift it by its edges, you could use suction.
- If there’s still some moisture in the thermal compound, you can use a flat piece of glass or plastic. Press it against the CPU’s surface and lift gently. If the thermal compound is dry, apply a little from a new tube.
- A small suction cup might work.
- There are vacuum pens made specifically for this kind of work.
(edit) The MSI B650 uses an AM5 socket, which is an LGA package. The CPU itself doesn’t have any pins that could be damaged, so you can be a bit more forceful. You could even take a small tweezer and pry it out from one of the corners (as long as the retaining frame is off, of course).
LGA sockets (including AM5) have flat contacts on the CPU and spring-loaded contacts on the motherboard. No pins, no holes. You could take a small tweezer or precision flathead screwdriver and lift the CPU from a corner. As long as you don’t reach in too deep, it won’t damage either side. You should be able to lift it with minimal force.