How do you close UI. Vision itself in the macro?

I assume you start the RPA software via the command line? If so, add &closeRPA=1&closeBrowser=1