Sultan Mahmud was buried in a village near Kota Tinggi in Johor, which is still known today as Kampung Makam (Village of the Tomb). Legend has it that before he died, he lay a curse on Kota Tinggi, forbidding any sons of Bintan from entering the city for all time.