@Ama***
, assuming you get out of the country, nothing, you'll get the visa because thai consulates are run by the ministry of foreign affairs NOT immigrations
However if you go to the immigration office for anything once you come back they'll see that you didn't cancel your earlier extension and charge you for overstay.