Automation Modes vs Automation Condition(s)

Do the automation modes take into account the automation conditions, or just the trigger?
In other words, if an automation is re-triggered and has the “restart” mode, but the condition is now false (so no actions will run), will that still cause the previous run of the automation to stop?

Just the trigger.

Yes it will cause the previous instance to stop. If this is undesirable you could use queued mode or parallel mode instead.

Excellent first question. Welcome to the forum.