First, your post should have been made in the forum about the "Quiz" activity, not the forum about the "Forum" activity.
Second, please check what you write before you post it. Would it be clear to the reader? A lot of people here are keen to help, and the least you can do is provide clear and complete information.
To answer your question (if I've understood it):
If you are worried about users logging out without submitting their answers to a quiz, try changing the quiz setting to "open attempts are automatically submitted" and set a time limit to the quiz.