The better way is to get two 1/4 watt resistors and cut the length to insert into the connector along the wire path and tape so they don’t move so that you can clip on scope or DMM clips.
These type of connectors have an insert plastic retainer clip that locked them.
If you pressed the right spot to squeeze the ears on the plug or in other cases push a plastic spring to pull gently on the plug , it should come out easily.
You just have to know where to find the exposed plastic spring retainer clip is and depress it with a small screwdriver while simultaneously applying a light pull.
Pulling out the wires requires a special hard plastic tool with a slit to wrap around the wire crimp , compress a lock tab then the wire pulls out of the shell easily.
Pulling too hard ( usually rated for >2kg) may break it.