Man most leccy connectors have a tiny tab that locks the brass male section into the plastic surround.
If you have just pulled an insecure brass tab out then you can push it back in.(just like college days)
If you have pulled the wire out of the crimped piece of brass all is not lost.
A good electrical parts shop sould be able to sell you the brass bits for small change.
A very small screw driver can be used to “unlock” the tab that hold the brass end in.
I recently saw a tool that claims to be able to service all auto connectors but wasn’t prepared to pay $80 AUD for it.