It happened in an issue of Invaders, which was set in the 40s. Hitler's top scientists pulled Thor through some dimensional aperture, bringing him from Asgard to Europe and sending him after the Invaders. Thor realized he'd been duped, said goodbye and told everyone that his dad Odin would erase their memories, which he did.