Don't separate them, as you could injure the male. Just wait until they unlock, then remove the male.

Good luck!