If your Roon Core runs on a Nucleus or an Intel NUC w/ROCK, the go to the web GUI and reboot from there.
If your Core is on a WIN10/11 machine or a Mac, then shut it down like any other program.