How to prevent Ubuntu Server 16.04 LTS from automatically restarting after a manual update

ran updates from aptitude last night. The server restarted automatically. That’s seriously bad form. I expect that behavior from Microsoft, but not Linux. I checked the logs, a reboot command was issued by the system. a reminder that this is a headless server. There is no gui.

How do I prevent that behavior in the future?

Thanks