Like any computer, you can restart your server when something goes wrong or (software updates need to be finalized).
Restart your server while allowing currently running programs to shut down properly.
This is like force-quitting applications on you Mac or Windows computer; currently running programs will be terminated immediately. It's unlikely that files will be damaged/corrupted, but certain files (e.g. logs) may not be updated as expected.
sudo reboot -f
- -f -- A flag for forcefully rebooting the server.