My hours of save is gone.

I just started playing hallow knight. I had around 4 hours of save, then in green path after a major boss I tried to save on bench even got the auto save symbol. After that I went to menu and clicked go to main menu but after I clicked yes it showed Saving symbol and marker automatically went to no. I tried couple of times and finally and even sat on bench. After all that I alt f4 knowing I saved on bench plus menu.

Loaded the game back up and suprise I was back to 21 Min of progress.

Thankfully I am relatively in early game but is their any way I can get back thr progress? Even if not anyway I can stop this for happening in future?

(This happened while I was playing game from xbox gamepass on pc if that helps)