Are your sockets the quick-connect type, such as this ? If so, the wires are push-fit. They might pull out with considerable force, or you might be able to use a narrow-bladed screwdriver or similar tool to release the wire grip. As a last resort the wire would have to be cut off.