Once the test completes, Windows will restart automatically.
While the Windows tool is convenient, it isn't perfect. Because it runs within the Windows environment (technically, a minimal boot environment), it cannot test 100% of your RAM.