This will stop hackers from accessing the system while you are away.
There are some things you can do to stop teamviewer running in the background in Windows at all time. A teamviewer installation also installs a teamviewer service to run in the background at all times. This drowned the reputation of famed remote desktop software among the tech community, But many people are still unaware and or are using Teamviewer. This has led to many users password being hacked and used to access their system for extracting private information. Teamviewer has been wrapped with a probable breach recently.