I have that problem all the time.
Yes, there is a clip that needs to be opened first.
But, that is often not enough and pulling on the cables hard may cause damage.
What I do is use a thin screwdriver to pry apart the cable from the motherboard a little at a time while holding the clip so that it is not latched. Eventually, you can pull the whole cable out.