The United Arab Emirates said on Sunday it had halted its military campaign against the Iran-aligned Houthis for control of Yemen's main port city of Hodeida to support UN efforts to reach a political solution.

UN special envoy to Yemen, Martin Griffiths, has been shuttling between the warring parties to avert an all-out attack on the port, a lifeline for millions of Yemenis. He said on Thursday that he hoped negotiations could restart in the next few weeks.

A coalition led by Saudi Arabia and the UAE launched an offensive on Hodeidah on June 12 in the largest battle of the war that the United Nations fears risks triggering a famine in Yemen where an estimated 8.4 million people are on the verge of starvation.

The frontlines have been quiet in the past week.

"We welcome continuing efforts by UN Special Envoy, Martin Griffiths, to achieve an unconditional Houthi withdrawal from Hodeida city and port.

"We have paused our campaign to allow enough time for this option to be fully explored. We hope he will succeed," UAE Minister of State for Foreign Affairs Anwar Gargash said on Twitter.

UN efforts may face a major challenge over control of the city.

The Houthis have offered to hand over management of Hodeida port to the UN as part of an overall ceasefire in the governorate.