It's not possible to recover all the individual track heights from before ATZ was enabled or Fit was executed. You'll either need re-Fit with an appropriate window size or maybe minimize them all and zoom the vertical track view.
You might find it useful to use Auto Track Zoom and/or Fit in another Screenset so it doesn't mess up the one with customized track heights.