Drawdown rules decide when you fail an evaluation or funded account. Wording varies by firm.
End of day drawdown
Usually tied to the session close. Intraday equity swings may not end the account until the day ends, depending on the firm wording.
Trailing drawdown
Often follows your equity high. Profits can raise the trail. Give back gains intraday and you may still fail.