James had already been up, and as Martha had walked past his room, she probably noticed that his door was open, and he wasn't in there. He was actually casually on his way back to his room now, not really caring if he got caught. Instead, he was whistling while he walked down the hall to his room.