How do I shut off my camera and exit the application?

At the cloud client window (The one with that starts with 127 as domain address) you just need to select end application.

Screenshot below: