When he arose - Having arisen; that is, he arose immediately after awaking from his dream, and prepared at once to obey the command,
By night - Thus he showed his prompt obedience to the command, and at the same time so concealed his departure as to render himself and Mary and the child safe from pursuit.