You could retake the exam before the certification expires. Once you retake the exam, the certification will be valid again. You can find here more information about the Validity period of HubSpot Certifications.