There was a problem with using cursor

There was a problem with using cursor. I used the search chats function and jumped to a certain modification point in the history. It prompted me to agree or refuse to modify some files. I chose to refuse, thinking that it would not restore the code to the historical version. But when I clicked on the last modification chat again, I found that some of the code had been modified, it was my previous code content, and there was a prohibition symbol on. env. I cannot continue developing now. How can I retrieve the latest version?