What did the timer below the preview say in the production window?
Did you get any hint on an error?
Can you check the target drive? Is there enough space on it? What is the file system? It should be anything but a version of FAT. You can check by right clicking on the drive and clicking on "properties". There it should list the file system being used.
Also try to uncheck the OpenCL and hardware decoding options and render without GPU acceleration or SVRT, to be sure the error isn't there.
Does the encode always stop at the same time for the same project? If yes, is there something special going on on the time line, like a new media file starting that needs a different codec?
That's just what I would check if it was happening to me.