How to use "macOS Shortcuts" to make the KM Engine restart

I don't have the Shortcuts app on my Mac, but one of the methods in this thread is likely viable.