Do you mean in general, or during an established session?
If the former, shared sessions are not enabled by default. You would have
to explicitly start a shared session. If you're concerned about users at
your company or on your network using this feature, blocking port 2302 is a
good start.
If the latter, the "Leave Shared Session" button on the Current Shared
Session Task Pane will cancel the session.