How to Disconnect Your Laptop from the Remote Desktop
When you finish your remote desktop session, it’s easy to break the remote connection. Simply close the remote window, or click the X button on the strip across the top of the screen. Then click the OK button in the confirmation dialog box. The connection is broken, and you're back to using only your own laptop.
Note that any programs you've started or any activities you’re running on the remote desktop continue to run after you disconnect. You must specifically stop them before you disconnect, if that's what you want.