Question for Lawyers - Trial Starts Then Fed Granted

Just a question for the lawyers/experts.

The defense requested to delay the trial due to the federal appeal. For the sake of argument, let’s say the trial goes on, jury is empaneled, sworn in, etc. and then the appeal is granted where counts 1 and 3 are dismissed. What happens to the trial at that point?

Thanks!