By default, on Ubuntu systems, the stop timeout is 90 seconds, which is the wait period before the system shuts down. However, this time you can edit and modify the /etc/systemd/system.conf file. This will reduce the shutdown time of your Ubuntu system. This article describes how to reduce Ubuntu’s default outage timeout.
First, open the terminal application. You can open it by pressing Ctrl + Alt + T at the same time. Run this command in the terminal.
sudo xdg-open /etc/systemd/system.conf
Enter your Ubuntu password. Open the /etc/systemd/system.conf file in your default text editor. Then find the following line:
Just change it like this
Here I changed the default stop timeout to 10 seconds and removed the #. Then save the file and reboot the system. You will notice a slight increase in speed when the system shuts down. that’s all.
Recommended reading: How to install AnimationMaker on Ubuntu