Hey
@Pamschwindt I take it no codes. Codes would be there with fuel problems. No codes could be a faulty electrical connection. This is how this works:
The computer will not log a code, set the check engine light, or think there is a problem to report if the power goes off. The computer will think you turned the key off. Computerized cars are not that different from the old cars of yonder years. The mechanics are much the same, with the same reasoning behind them.
Fuel, air mixture, spark(ignition) electrical on gas compression on diesel. Any failure where a sensor is located and a code will be displayed. The only time this is not true is when the power is cut to the computer when the problem appears. So one more time, check the codes and let me know what they are. and a side note. a bad connection will get hot. as it gets hot you can get a disconnect at that location. An IR camera would assist with finding a bad connection if you have one or can borrow one. The flir camera for a phone is a great tool to own.