How to close camera from preview mode?

Hello, I use nvgstcapture-1.0 --prev-res=3 command to test tx2 on-board camera, it enters full-screen, but can not return to the desktop by using mouse or keyboard. So is there anyway to quit from full-screen without restart the system? Thank you.

Just press q to leave leave it.