If the heroism spell is cast on a character that is already frightened, does it remove the frightened effect?

The heroism spell would suppress a frightening effect that was already on its target. When the spell ends, the target’s immunity goes away and the frightening effect resumes if it has not expired or been removed.