how to get my dog to come out? when will he come out?

i recently bought a dog he is 5 months old he is a siberian husky when i got him he was very dirty so i gave him a bath and after that he immediately went to try to hide in a corner it was late so i decided to let him go to the cage he walked in at his own will the second day he wouldn’t come out and so i just let him be and put his food and water in the cage he ate it all and drank all the water then the third day day he didn’t come out until night he came out to eat out his bowl that i put outside the cage to lure him out he also pooped for the first time now today the 4th day he hasn’t come out we tried to pull him out but he doesn’t like it at all how should we proceed he lets us pet him and will eat out of our hands also