When Castle and Beckett are nearly caught by his mother at the beginning of the episode, a passageway into the hallway of the building seems to have appeared in Castle's bedroom out of thin air. And while it's possible Beckett snuck out through a window and navigated the outside of the building to an adjacent apartment, the time between when Castle notices she's gone and when she calls him is too short for her to have made it to where she did.