Don't know; OP didn't specify an error message.
But rest assured, if you're driving and your main pack fails, there is no way you'll miss the flashing lights and klaxons that the car uses to tell you to pull over
It felt a little bit like Apollo 13 where they're trying to cut over the power before it drains completely. The warnings were telling me that the 12V was low and I got the feeling THAT was all I was running on. I had the windows down and the roof open and got to thinking about what would happen long term without power if it rained, so I closed those and began to bake because it was a beautiful 90 degree day in MD. Then I got to thinking how the tow driver was going to move the car with it in park, so I put it in tow mode, but I forgot to raise the suspension for him, so I feel a little bad.
Tesla's roadside assistance was having a difficult time ascertaining my exact location since the car's GPS was dead and they asked if I could try and move it. When it didn't come back on when I pressed the brake, I knew it was worst case.
So lesson learned. Make sure you and the car are someplace safe, level is preferable. Get the car buttoned up, put it in tow mode and raise the suspension. If roadside hasn't called you by this time, call them and be prepared to tell them exactly where you are. Then hang tight and wait for the moon's gravity to slingshot you back towards Earth