So:
- You didn't save your file
- You didn't export your file
- You ignored GIMP's warning about it
And somehow it's the program's fault? I guess they could implement some form of temporary autosave like some office applications do, but that comes with its own can of worms (i.e. stuff you really didn't want to save staying on your drive).