My Mac tries to restart automatically several times a day, which is very annoying; I’ve read dozens of pages on the internet, including Apple’s website, without being able to solve the problem.
It’s an illness that happens for months and then disappears (like the flu!) and then reappears.
It’s not a crash; fortunately 4D saves me, you can see that it’s not completely off topic!
It happened with High Sierra but also with Mojave.
I have no error message; macOS closes all possible applications except 4D and Firefox which asks permission to close the tabs.
There are so many skills on this list that I ask if anyone would have an idea.