Recording shut down

I was recording classical music and the recording stopped recording. I was able to press Stop and then Record, again and the recording continued until the recording shut down again. Is there any preference that may stop a recording once the recording is happening?
Thank you,