A new prosecutor can and will be appointed. That prosecutor will then have to decide to continue the prosecution.
I don't know how that will go.
As I see it there's 2 competing interests.
A prosecution of this magnitude is a tremendous drain on available recourses. Both in man hours and money. A DA has much more than one case to prosecute. So whenever they take something big, that by necessity draws attention away from other cases. So they might for example choose to give a favorable plea deal to some white collar criminal because they don't have the recourses to prosecute him. Not saying they'll let rapists or something of the hook but it does have consequences.
On the other hand a prosecutor might decide this crime is so egregious that it is worth these other consequences. Willis did.
The point is this. No it doesn't make the trial go away. But also no, it doesn't mean the trial will continue either. It is literally up to the discretion of whomever replaces her. IF she gets replaced.