The military operation accomplished a great deal: diminishing ballistic missiles, drone capabilities, and severely decimating their naval fleet. The outstanding issue is the enriched uranium. Barring sending troops in, this is a negotiation. If you can maintain a ceasefire and use diplomacy, that is preferable.
The blockade has created immense economic pressure on Iran. They are losing billions upon billions of dollars, bordering on trillions, because they cannot move oil and lack storage capacity. 90% of Iran's oil sales go to China, so this pressure has forced the regime to negotiate.