There is no time travel in this book, but Naruto saw his biological father, the fourth generation Hokage Namikaze Minato, when he was 5 years old. So, after he learned his father's true heritage, he became powerful in the ninja world.
This novel and its characters are purely fictitious. Any similarity is purely coincidental and should not be imitated.