The boy saw the same dog he ran away from and wanted to run but the man told him it was okay and he is not harmful and started playing with him
The man told the boy to follow him and the boy listened and they went to a village and the man took the boy to a home in the village and they went inside
When they went inside the boy got surprised because the room was similar to the room in the space ship and the time machine was there. the old man told the boy to get in the time machine so they could go back home.
The boy and the man went back to their time and back to the space ship and the boy was happy and never wanted to time travel again.