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.
Any more problems, PM me your number and I'll call ya.
Click to see the Tiger 800/800XC LED brake/tail light upgrade