After you have finished using a remote desktop or published application, you can disconnect from the server.
To disconnect from a server, click the Disconnect from Server icon in the upper-left corner of the desktop and application selector window, or select File > Disconnect from Server in the Horizon Client menu bar, or press Ctrl+O.