A full reboot on a big server means firmware, disk controllers and memory tests before Linux even starts. After a userspace update, sometimes all you need is every process restarted.
systemd 254 added a mode for exactly that:
sudo systemctl soft-reboot
The man page describes it as shutting down and rebooting userspace while leaving the kernel running. All services stop, systemd itself starts fresh, and the normal boot of services follows, without the hardware part. It is much faster than a reboot on machines with a slow firmware stage.
It fits after updating systemd, glibc, OpenSSL or other libraries that many processes have loaded. A needrestart style check would want almost everything restarted anyway, and this does it in one go.
The command shows up in systemctl --help on Ubuntu 24.04 with systemd 255. On older versions it does not exist.
It is still a full stop of every service and every login session, so SSH drops and running jobs end, just like a reboot. I’d plan it like one. The kernel stays the old one, so it does not apply a kernel update or a kernel security fix; for those you need a real reboot. Some services that keep state in the kernel, like loaded modules and their parameters, also stay as they were.
Further reading: systemctl man page, systemd-soft-reboot.service man page