Gaddafi, who surrendered to the US, disarmed, accepted inspections, and even signed a non-aggression pact with Italy, a major NATO member, could not avoid war.
What happened to Hussein, who capitulated to the US in the Gulf War?
What happened to Syria, which made peace with the West after the Gulf War?
There is no example of a war that was avoided because of a low profile.
Happily for Iran, the US was busy invading other countries.
But this ironically may have led to the misconception that by keeping a low profile, an attack from the enemy could be avoided.
It is probably too optimistic to think that the West, which even fires missiles at the Russian mainland through proxies, will refrain from attacking Iran indefinitely.
Iran's security is seriously threatened unless it can at least be convinced that it is a formidable opponent worthy of negotiation.