In the incredibly rare case where, during your cleanup step, Ancient Adamantoise is phased out with damage marked on it, Ancient Adamantoise's second ability won't apply and all marked damage will be removed from it during that cleanup step.