There was a pause before Julius answered, then he withdrew his head and shut to the door.
Julius withdrew and shut the door after answering.