Mac shuts off instantly
My Mac Book (Retina, 13 inch, Early 2015) running OS 10.13.6 just shut off instantly while in use, just one millisecond all was fine, the next the computer was completely shut down.
I pressed the start button and it rebooted without issue. I am concerned if this is a sign of a future failure.
Any ideas welcome.
MacBook Pro with Retina display, MacBook 2010 and original iPad