This is now officially more complicated. And much harder to debug without experience and without a schematic.
The transistor fried because too much current went through it. Given the type of transistor, this is likely the output transistor. This is the one that drives the speaker.
Was there an appropriate load on the output?
If the output was shorted or way too low impedance, this could occur. Depending on the type of amp, having no load (no speaker) could also cause the output to overheat. Assuming you had a speaker attached, did it make any noise before you shut it down?
Depending on how the output works, a (non-obvious) failure in one of the other transistors could cause the new one to fail (on if the smoke came out, it's probably dead or critically injured).
The other possibility is that the input to this transistor was incorrect. This would indicate a problem further "upstream" from this transistor. Figuring this out is more difficult and I can't give specific pointers without knowing more about the amp. Very oversimplified, the most likely problem is that the DC bias to the output transistor is incorrect.
This might be a better question for a car audio forum.