https://blog.sqlterritory.com/2018/06/05/quickquestion-how-to-start-and-stop-sql-server-instance-from-a-command-line/#:~:text=To%20stop%C2%A0%20default%20SQL%20Server,be%20used%20for%20this%20purpose
Anonymous
Don't force yourself or others to reimplement functionality.