If you are currently connected to and logged in to a remote desktop, you can use the Windows Start menu to log off.

You can also log off by tapping the Ctrl+Alt+Del button in the desktop or application window and tapping Log off.

Any unsaved files that are open on the remote desktop are closed during the logoff operation. If you disconnect from a remote desktop without logging off, applications remain open on the remote desktop.