Press Y to detach into the floating camera, then press Y again whenever you want to snap back to the player's view.
It's most useful in theatre mode, where you can pull away from the action to line up a screenshot or get a clean look at a piece of geometry you couldn't otherwise see. Movement while detached is free-floating, so it takes a moment to get used to the speed if you're framing a precise shot.