Stop in for a cup of coffee

So. Had an oh **** moment.
Parts run. Pull into parts store and truck stalls. Never does that.
Battery voltage way down. Wierd...
Pop hood and the next moment i see smoke billowing out of the back of my truck....
It had a cap and something was definetly on fire.barracuda driveshaft is riding around in the box. Slid and shorted my plow pump. Battery on fire, cables on fire ,bedliner burning.
Parts,tools,gas and an engine i was to install in the next couple days....
I tripped the main breaker,and got fire out and de-wired rear battery.
Guess i have another project coming up. Solenoid to kill rear battery after its all fixed.