This is not somethign that would be caused by the ecu. For the car to stay on, the ecu is still receiving power, which means that there is a fault somewhere in your wiring or ignition switch. I would suggest taking your car the the Acura dealer for diagnostics. Since you have had aftermarket components installed in the car this is most likely the source of the problem.