If you have not completed all the graded activities of a MOOC by the due date, or if the course has been completed and archived, or if you did not achieve the minimum required score, you will not be able to earn the course badge.
In that case, you will need to register for the next session of the course and retake all the assessments if you want to earn the badge.
Your current progress and marks will not carry over when you register again for the new session of the MOOC.
Updated