loss of power while driving

Give some details on the car itself.....year, model, etc. A lot of guys here can help narrow it down with more info.

Sound like a wiring issue of some type for sure? Maybe near the battery? Could even be a bulkhead connector problem since everything shutdown.