Help, how to disable checkout to previous chat's commit

I wirte some code with cursor, then I want to rewrite the first chat, cursor automaticly checkout to the version when we chat, the changes disappear. I want to keep that changes I made with cursor😭

I fix with redownloading cursor,