The Majestic

In 1951 in the midst of the Second Red Scare, Peter Appleton is an up-and-coming young screenwriter in Hollywood. He learns from studio lawyer Leo Kubelsky and his own attorney Kevin Bannerman that he has been accused of being communist because he attended an antiwar meeting in his college years, a meeting he claims he only attended to impress a girl. In an instant, his new film Ashes to Ashes is pushed back for a few months, the credit is given to someone else, his movie star girlfriend Sandra Sinclair leaves him, and his contract with the studio is dropped. Peter gets drunk and goes for a drive up the coast, where he accidentally drives his car off a bridge to avoid an opossum.
He comes to on an ocean beach experiencing amnesia. He is found by Stan Keller who helps him to the nearby town of Lawson, California and the local doctor named Doc Stanton to tend to his wounds. As the town welcomes him, Harry Trimble arrives and believes Peter to be his son Luke, who went MIA during World War II seven years ago. Due to his amnesia, Peter accepts himself being treated as Luke by the rest of the town led by Mayor Ernie Cole as Sheriff Cecil Coleman tells Doc to "tell her slowly." Peter warms up to the town including getting to know Harry and Luke's girlfiend Adele Stanton who is Doc's daughter.
Peter adjusts to the new life and helps to renovate the Majestic, a movie theater that had been shut down due to hard times. Bob Leffert, a veteran of the war that knew Luke, does not believe Peter is Luke, and fears Peter may be setting the town up for heartbreak given they had lost sixty other young men during the war. Despite this, Peter helps to restore the theater, invigorate the town, and encourages Mayor Cole to display a memorial commissioned by President Franklin D. Roosevelt after the war that the town did not previously have the heart to display. Meanwhile, Peter's disappearance leads Congressional committee member Elvin Clyde to believe Peter is a Communist, and he sends two Federal Agents to California to search for him.
Peter recovers from his amnesia when the Majestic shows Sand Pirates of the Sahara, just as Harry suffers from a near-fatal heart attack before the reel change. Doc reports Harry's time is short, and Peter cannot come to admit the truth, allowing Harry to die believing he is Luke. After the funeral, Peter admits the truth to Adele, who had already suspected it, and supports his decision to tell the rest of town. Before he can do so, Federal Agents Ellery and Saunders as well as Leo and some police officers arrive. When Sheriff Coleman asks if they need any help with anything, the Federal Agents give Peter a summons to appear before Congressional committee in Los Angeles. During their meeting, Leo advises Peter to agree to reveal a list of other named "communists" as to clear his own name. Peter has an argument with Adele over this decision and she gives him a letter she had gotten from Luke.
On the train station, Peter reads the letter which contains both Luke's awareness he might die in the war for a real cause, as well as a pocket-sized version of the U.S. Constitution. Peter changes his mind at the session which is watched by all of Lawson and confronts Congressman Doyle during the televised session. Peter gives an impassioned speech about American ideals, which sways the crowd and forces the lawmakers to let him go free. As Peter discusses the result with Kevin, he learns that the girl he met in college was the one that had named him to the committee.
Peter attempts to return to his former career but finds he cannot deal with the ridiculousness of their ideas, and leaves Hollywood. Peter instead returns to Lawson, fearing an unwelcome reception. Instead, he receives a hero's welcome from the town's citizens, who have come to respect him as an individual. Peter then resumes ownership and management of The Majestic, he gets married to Adele, and the two have a son together.

Question: What did Pete recover from?
Answer: Amnesia, when the Majestic shows Sand Pirates of the Sahara.