Assuming your rebuilt/fixed EMM is not the issue (one must assume)
the shut down is likely EMM initiated due to a sensor condition .
I sent you some infor via your PM . Suggest you start there
.
unfortunately these complexe controls require EV diagnostics a Windows laptop , special...