Yes, it will keep recording. It records as long as there is motion and you can set the duration of time that the unit will record once motion is no longer detected.
The "SLEEP" button on the monitor front turns the display off until motion is detected at according to your settings. If motion is detected, the camera will turn back on automatically while recording.