My guess would be that you may have used File | Jpeg | Turn, which is a lossless operation that cannot be undone (the file is directly modified).
The regular Turn operations under Transform | Turn & Mirror are undoable (well, except if Undo has been turned off to save memory. In the viewer/editor, see View | Preferences | Tab:Editing | Disable Undo if that might be the case).