Copy and paste the following command in your Terminal window:
log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h
The "24h" portion of the command can be changed to any number of hours, depending on how far back you need to see.
Your contributions are licensed under the open source Creative Commons license.
Insert a new line below
Insert a new line above
Indent current line
Unindent current line
Delete current line
Navigate to next step.
Navigate to previous step.