It is sometimes a pain in the ass. If you can't slide it off I would grab the entire connector and yank it directly vertically. It will pull that white tab out of the hole and be freed. Then you can separate the connectors, do the job, and shove the white tab back down in the hole.