Note that the era of free navigation is recent and short. Countermeasures would certainly emerge. But shipping wouldn’t stop.
> Are there enough military ships to do the escorting?
For critical passage, yes. If Iran is just taking pot shots at any ships anywhere, you basically have to actually blockade it.
Also the US and Europe would be pretty fucked since we depend on it much more.
China could still get resources from russia and is much more self sustained.
Also China and Russia want to break the us hegemony.
America would be fine. We have the Americas and Asia to trade with, and Iran can’t restrict those oceans in any meaningful way.
Europe, the Middle East, Africa and non-China Asia would get screwed.
I think the main limit on them interfering with that shipping would be that China becomes unhappy with them, not that this is infeasible?
(Also, at these prices I don't think it will be limited to Iran, or even to nations, so countermeasures will need to be invented).