Controller Destroyed

Hello!

Please help me: I destroyed my controller on the 2.0 350 today. The snapmaker had just finished a print, wanted to switch to laser and when I plugged in the laser module it popped and smoke came out of the controller. I forgot to turn off. The controller has already been ordered. Could the laser module and the linear modules or the power supply unit also have been damaged? How do I test this before I reconnect the new controller? The best way is to use the working print module. Or does anyone know where I can look?
What can be also destroyed? The touch is working but when i will move the axes nothing moves when i click on the touch.

Smoke came out of the Toolehead cable in.

(I think to 90% i put it right way in the cable not de wrong site)

Thanks in advance!