we really can't see from the picture, just check where the cable is leading and unplugg it, maybe you have to open up the back of your PC, again I can't really see it from the pictures, sorry
Hard to tell from the pics, normally CPU fans just have a single connector to the motherboard which it looks like you already unplugged so I'm a bit confused to see what look to be two cables coming from it. Regardless, as the other poster said, just follow the cable back to where it plugs into the motherboard and unplug it. These fan connectors are rarely complicated or stubborn and should come unplugged relatively easily.
You just unplug the black connector that is plugged into the motherboard. It should just pull straight up.
https://preview.redd.it/vrng5ypdecec1.png?width=1080&format=pjpg&auto=webp&s=652f472a22816c9d4e561a613a40655230e4f3da
This one?
we really can't see from the picture, just check where the cable is leading and unplugg it, maybe you have to open up the back of your PC, again I can't really see it from the pictures, sorry
Hard to tell from the pics, normally CPU fans just have a single connector to the motherboard which it looks like you already unplugged so I'm a bit confused to see what look to be two cables coming from it. Regardless, as the other poster said, just follow the cable back to where it plugs into the motherboard and unplug it. These fan connectors are rarely complicated or stubborn and should come unplugged relatively easily.