When they couldn't find him they returned to Jerusalem to look for him there.
They assumed he was with all the others traveling home. A day passed before they started looking for him among their friends and relatives.
It was three days before they found him in the Temple. He was sitting among the religious teachers, listening to them and asking them questions.