Brutal honesty suggests that if you can't trust it: Turn it off, walk away & wait.
However. Is this the board / connector type?
https://www.amazon.co.uk/SainSmart-3...a-835161727906
If so. Those white plugs are the same as Lipo battery, JST-XH, 3s balance connectors.
You could get some 3s balance lead extension cables and plug them into the motors, and cut the extension connector off on the other end to leave them bare.
This way you don't have to cut the motor connectors off.
Then, connect the open cable ends to any other control board you can get your hands on and carry on.
Like these cables here:
https://www.amazon.co.uk/10pcs-JST-X...0220086&sr=8-9
If they don't look the same, put an image of the connectors here.