COX'S BAZAR, Bangladesh (AP) -- A once-fearsome cyclone that was threatening Bangladesh and Myanmar dissipated quickly, causing some deaths but largely relieving authorities who had told more than 1 million people to leave vulnerable coastal areas in preparation for a far worse storm.
Cyclone Mahasan lost power as it shed huge amounts of rain and then veered west of its predicted path, sparing major Bangladeshi population areas, including Chittagong and the seaside resort of Cox's Bazar, said Mohammad Shah Alam, director of the Bangladesh Meteorological Department.
Coastal areas were spared major damage because it hit Thursday afternoon during low tide, causing no major tidal surge, he said.
"Thank God we have been spared this time," local government administrator Ruhul Amin said.
Before the storm threat weakened, Bangladesh had evacuated 1 million people, and the United Nations warned that 8.2 million people could face life-threatening conditions.
Myanmar was spared almost entirely. Evacuation attempts there had met with frustration as some of the tens of thousands of displaced Rohingya people in western Rakhine state were wary about the government's order and refused to leave.
"It's all over, and we are very relieved that we didn't have any unfortunate incident in Rakhine state due to the cyclone," Win Myaing, Rakhine's regional spokesman said.
In Cox's Bazar, tens of thousands of people had fled shanty homes along the coast and packed into cyclone shelters, hotels, schools and government office buildings. But by Thursday afternoon, the sun was shining and Amin said he planned to close the shelters by the evening.
The storm's slow movement toward Bangladesh gave the government plenty of warning to get people to safety, Amin said.
"But for the evacuation, the casualties would have been higher," he said.
Ferry services in the delta nation resumed Thursday night after being suspended in advance of the cyclone. Scores of factories near the choppy Bay of Bengal had been closed, and the military said it kept 22 navy ships and 19 Air Force helicopters at the ready.
A 1991 cyclone that slammed into Bangladesh from the Bay of Bengal killed an estimated 139,000 people and left millions homeless. In 2008, Myanmar's southern delta was devastated by Cyclone Nargis, which swept away entire farming villages and killed more than 130,000 people. Both those cyclones were much more powerful than Mahasen, which hit land with maximum wind speeds of about 100 kph (62 mph) and quickly weakened, said Alam, the meteorological official.
By the time it hit Chittagong and Cox's Bazar, wind speeds had plunged to 25 kph (16 mph), Alam said. The storm then dissipated entirely, he said.
Bangladesh counted at least 10 deaths, most from the collapse of mud walls or by fallen trees. Related heavy rains and flooding had been blamed for eight deaths in Sri Lanka earlier this week.
At least eight people -- and possibly many more -- were killed in Myanmar as they fled the cyclone Monday night, when overcrowded boats carrying more than 100 Rohingya capsized. Only 43 people had been rescued by Thursday, and more than 50 were still missing.
Babul Akther, a Bangladeshi police official in Tekhnaf close to Myanmar border, said police there found 19 bodies Thursday in the Naaf River, which separates the two nations. He said most of the bodies were of children, and they suspect they are victims of Monday's boat capsizings.
Much of the fears about the storm's impact had been focused on western Myanmar because of the crowded, low-lying camps Rohingya were refusing to evacuate. U.N. officials, hoping they would inspire greater trust than the government, had worked to encourage people to leave.
In Rakhine state, around 140,000 people -- mostly Rohingya -- have been living in the camps since last year, when two outbreaks of sectarian violence between the Muslim minority and ethnic Rakhine Buddhists forced many Rohingya from their homes.
Nearly half the displaced live in coastal areas that were considered highly vulnerable to storm surges and flooding from Cyclone Mahasen.
"Pack and leave," a Rakhine state official, U Hla Maung, warned before the storm hit as he walked through a camp near Sittwe, the state capital. Accompanied by more than a dozen soldiers and riot police, he suggested that people living there move to a nearby railroad embankment, then left without offering help.
Some Rohingya took down their tents and hauled their belongings away in cycle-rickshaws, or carried them in bags balanced on their heads.
Ko Hla Maung, an unemployed fisherman, was among those who had not left as of Thursday morning.
"We have no safe place to move, so we're staying here, whether the storm comes or not," he said. "... The soldiers want to take us to a village closer to the sea, and we're not going to do that. ... If the storm is coming, then that village will be destroyed."
Associated Press writers Tim Sullivan in Sittwe, Myanmar, Yadana Htun and Aye Aye Win in Yangon, Myanmar, Jocelyn Gecker in Bangkok and Julhas Alam in Dhaka, Bangladesh, contributed to this report.
Copyright 2013 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.