The UN paused plans to evacuate more than 11,000 sailors stranded in the Strait of Hormuz, after a cargo ship passing through was attacked.