there is a border with Myanmar. They will stamp your passport OUT/IN, you no need for Myanmar visa, we do this run very often, for South African no issues.
if you leave to your home country and not come back it does not matter. If you apply for another visa straight after ED than the Thai Embassy will check if you have cancelled the old extension of stay.