The defending champions were 11 minutes away from an agonising exit in their Zurich quarter-final before fighting back.