
Iran still unambiguously controls the strait. So we could pull out, but would need to give concessions (probably more favorable then the start of the war, otherwise why would they say yes?). And furthermore Iran would continue preparation in case US-Israel decides to attack in a few months again.