The answer depends on an exception to the ban. A yellow light and an arm raised straight up (
) ban movement, and normally you must stop at the stop line or, if there is none, before the roadway you are crossing, the railroad crossing, or the traffic light or traffic officer. But if the signal changed when you were already close and you could stop at that point only with sudden braking, the rules let you keep going. Sudden braking right before the line is dangerous: a vehicle behind may run into you