Mac quits after a few minutes of inactivity and restarts.
Mac quit after a few minutes of inactivity and restarts itself. It started doing this after I attempted to activate the screensaver using photos. The screen saver hung up on the page, and I had to quit in order to get out of the freeze. after that the computer quit while being inactive for only a few minutes and would restart itself.
iMac 27″, macOS 10.13