When Tom finally reenters his apartment what does he decide to do?

He decides to find himself through the window