The Frightened Condition in 5e lasts as long as the spell, trait, or feature states, either running out after an allotted amount of time or once a creature saves against the effect.