Releasing a Webcam From the Remote Session
To release a a webcam from the remote session you have to stop the playback streamed from it.
Now the webcam is released from the remote session and can be used on the workstation side or unplugged.
It is strongly inadvisable to physically unplug the web camera if the video is being displayed at the moment. For more details refer to Troubleshooting section.