Leaving Malaysia. There's a large duty free market on the Malaysian side (the blue shed in the background) selling all manner of things 'Asian', so you can stock up if you need to.

The ferry across the river to Thailand leaves every half hour and the Malaysian and Thai passport offices are friendly and efficient.