Why did the texture I painted in texture paint mode disappear?
You need to save the image texture to an image file F3 (Menu: Image / Save As Image) otherwise all changes are lost. Blender indicates an unsaved texture in the UV-Editor with an asterisk at the Image Menu Item.



Another option would be to pack the image into the .blend file.