Can't unplug fan from motherboard - compaq 6720s laptop

i’m disassembling this laptop to clean the fan. i’m unable to remove the cpu fan’s connector plug from the motherboard socket. it simply will not slide out horizontally as it’s supposed to. is there perhaps some undocumented catch-type mechanism i first need to release, or something like that?