Was driving around earlier and all was fine. Then i stopped went in the shop, then when i started it again smoke started coming out of the dash

So now i have two wires still connected (one back and one white) and two wires not connected (one black and one white). If i turn the key the dash lights come on ok and if i tap the black wire on the terminal it will start and i can drive it with the two wires still dissconnected. But if i hold the two wires on the terminals they are supose to go on the barral glows from the inside.
The only thing i can think it might be to do with is the starter motor, as that has been playing up a bit recently.