It only restarts the Kernel, so all definitions are lost. But the frontend is still active. If you want to clear that, just create a new notebook or select all and press delete.