Had this happen to me twice this week (so far), on a brand new iMac Pro 5K I purchased on Monday. Been shutting down overnight, rather than sleeping, but put it in sleep for a couple of hours tonight while I ate dinner, came back in the room expecting it to wake (on the presence of my Apple Watch), to find it awaiting a full password login (which you'd get after a full restart). Logged in to find the 'your iMac was shut down because of an issue' message, with a log report too complex and long for my limited understanding ... also on 10.13.4. There's no new or different user-installed software on this new machine vs what was on my old 2012 27" iMac, which never had a crash in 6 years. A bit bummed by it, really. Was anticipating 'spectacular' for almost £5,000, and what with this and the minor gripes like self-resetting screen brightness, I'm a bit wary...
UPDATE: Having read this and a couple of other forums on the same topic, I just killed all regular apps (but left background processes etc running), and hit 'sleep' just for the duration of taking a shower. Came back to find the iMac Pro all off; hit a key and had my external LaCie thunderbolt hard drive spin up for 15 seconds, but a black screen on the iMac. Hit the space bar a dozen times, and got the Apple boot logo, then the re-start logon screen, then the 'shut down because of an issue' message again. Other forums have people saying it's an issue on their Macs with Citrix installed. I don't have Citrix on mine - no apps running at all, and it's crashing. Many people talking about this being an issue in the initial and all subsequent versions of High Sierra...