The tropical storm Tabuk has fallen in southern Thailand after floods and heavy rains have displaced more than 30,000 people, killed four people and stranded many foreign tourists.

The storm subsided on Saturday morning, moved towards the Andaman Sea without causing casualties, and then moved away from Thailand, according to the Thai Meteorological Center.

The flights resumed after the storm turned towards the sea, but Thai authorities have warned of the consequences of flooding in the south, where some areas are still submerged.

The storm has overtaken Koh Samui, Koh Phangan and Koh Tao islands in the Gulf of Thailand, a tourist island on New Year's Day, but hundreds of tourists remained stranded on Friday as the weather improved, ferry traffic remained stalled, as did three airports.

Since Thursday, southern Thailand has been hit by the strongest storm in three decades, killing four people and missing one in Pattani and Nakhon.

The authorities issued a large number of warnings and opened many shelters and shut down several airports, and the fall of trees and electricity poles cut off more than 200,000 homes in four provinces, and many villages remain submerged in water and mud.