You probably dont know what does kernel panic mean and what a kernel panic is on your box.
Windows kernel panic refers to the unspecified low level error that the operating system cant recover from.
You shut down your setup because of a problem.

If you want to fire up the applications that were open when you shut down, click Open.
If you do nothing, the computer will continue the login in * seconds.
What does this mean?
![]()
If your Mac restarts unexpectedly, it indicates that a kernel panic is found on your macOS.
Hold down the Power button for several seconds or press the Restart button.
What To Do If Your Mac Keeps Shutting Down Randomly?

After that, you should wait for a while and restart Mac if you need.
What if your Mac wont shut down?
You shouldread this postto know how to fix it.

Then, start your Mac to see whether the problem is fixed.
Method 3: Boot into Safe Mode
First, you should cycle your Mac into Safe Mode.
If you succeed, you should go to update all your software.
Suppose that you’ve got the option to find which apps are corrupted, you should update them.
If this failed, you better uninstall them from Mac.