Only in builds with Camera Track enabled.
Closing the tool in any way discards unapplied changes: picking another tool, the close button, Delete or Backspace in the 3D view, switching to Print Layout, New or Open, or quitting. Closing never writes a keyframe, never adds an undo entry and never marks the show as changed. The view goes back to the track's pose.
Full guide: Camera Track Tool › Closing the Tool