When you disable the 'next' button (or hide course navigation) for the quiz, once you complete the quiz it is quite easy to accidentally hit 'retry'. If you get 100% on the first attempt, then fail on subsequent attempts, this is a big issue if you have limited attempts to only 3. It would mark the course as failed.
Please update the quiz so it stores the highest score achieved. Also make it better so you don't accidentally hit 'retry'. Maybe move the location of the button to the bottom left of the quiz.