Happened to me before, but it wasn't for my work it was for the edit I made on my novel. I rewrote the edits for the whole story, but it could never reach the awesomeness of the first couple edits I ever made.
I just lost all my motivation to continue editing the story, but when I continued on it just didn't give out the same vibes. It's so weird, I wrote everything, but I couldn't remember half the things I wrote down hence why it didn't give out the same vibes.
For more context, the first edited version of my story used to be like a ballet dancer, but later became a dancer at a family event. All my edits over edits were gone and I just went off my original poor writing trying to salvage all I could before I forgot everything.