Star Trek (1966)
S3E3 The Paradise Syndrome
On a primitive planet, an alien artifact wipes Captain Kirk's memories clean, leading him to start anew among the local inhabitants. Embracing this unfamiliar life, he becomes integrated into their community, unaware of his true identity and past adventures.