If you accidentally clicked on the x for closing the file, you would get a prompt asking you to save, unless the file was already saved and there are no new changes to save.
So if this clsoed without getting a prompt to save it msut be on your hard drive under another name or location. Try File >> Open Recent files