Are you trying to remove the wire from the black housing? If you look at the loose wire, there's a tab that rises away from the connector. That holds it in. If you look at the connector in the housing, and wiggle the wire, you may be able to see where it catches. A tiny screwdriver, or something similar will usually release it.