First of all, there are two ways to set up a midi track. First, you can create a Simple Instrument Track, which will create a visible midi track and an invisible audio track. I'm not sure yet if the audio track actually exists at this point or not.
The only option I get for freezing this track is the 'freeze synth', I can't 'freeze track' this track.
If you 'freeze synth', the midi clip is replaced by a visible audio clip containing the generated waveform from your midi track. The midi clip is no longer visible. If you then unfreeze the track, the audio clip disappears and the midi clip reappears in its place. You can do this as many times as you want
If you split the Simple Instrument Track, it's split into two tracks, a visible midi track and a (linked) visible audio track which will be empty. The freeze buttons of both tracks are linked and only offer the option to 'freeze synth'. Freezing generates the waverform in the audio track. The midi clip remains visible in the midi track. If you unfreeze, the audio track remains but its clip goes empty, the midi track remains unchanged.
The second way is to create a midi track and an audio track separately, send you midi track to your synth/drum machine/etc and set the input of the audio track to same instrument. This will generate the same setup as you get when you split a Simple Instrument Track.
All this to say that I don't see how you could have 'freeze track'ed a midi track or an audio track linked to a midi track. And if you 'freeze synth'd the track, you should get the midi clip back when you unfreeze it. Something else must have happened.