Iran military warns US aircraft carrier to stay away from Persian Gulf "I advise, recommend and warn them (the Americans) over the return of this carrier to the Persian Gulf because we are not in the habit of warning more than once," the semi-official Fars news agency quoted Salehi as saying. Iran completed 10 days of naval exercises in the Gulf on Monday, and said during the drills that if foreign powers imposed sanctions on its crude exports it could shut the Strait of Hormuz, through which 40 percent of the world's traded oil is shipped. Iran said on Monday it had successfully test-fired two long-range missiles during its naval drill, flexing its military muscle in the face of mounting Western pressure over its controversial nuclear programme. Iran also said it had no intention of closing the Strait of Hormuz but had carried out "mock" exercises on shutting the strategic waterway. Tehran denies Western accusations that it is secretly trying to build atomic bombs, saying it needs nuclear technology to generate electricity. The United States and Israel have not ruled out military action against Iran if diplomacy fails to resolve the Islamic state's nuclear row with the West. The European Union is considering following the United States in banning imports of Iranian crude oil. U.S. President Barack Obama signed new sanctions against Iran into law on Saturday, stepping up the pressure by adding sanctions on financial institutions that deal with Iran's central bank.