@Osiemo ***********
, did you go to the immigration office and get an extension of stay for 1900baht? If you did, when you cancel your work permit you need to go and cancel your extension of stay, and either exit the country that day or you need to buy the 7 day get outta thailand stamp and go get a new visa. You cannot stay until the end of this extension.
If the stamp you have in your passport looks like the image Robert posted you don't have a visa you have an extension