I suspect it may be too late for Trump at least - he has managed to demonstrate to Iran that they have more power than they thought they did, and it may be quite difficult to return to the pre-war state of affairs.
It seems many countries around the straits are now thinking "Hmm, we can charge ships to pass through...".
I don't think that would have happened without Trump.
Yeah, it's definitely not going to be back to where it was before he started his Iran debacle. He broke it. But now gaming it out it seems like him just deciding to withdraw would be the best outcome that we could probably get. Otherwise just sticking around in the area and issuing threats just causes Iran to react and that effectively keeps the SoH closed (heck, the US even closes it sometimes).