While driving, the shut-off valve at the back of the rear trailer should be:

To allow for the passage of air throughout the braking system, all shut-off valves should be in the open position, except for the shut-off valves at the back of the final trailer in a combination. The shut-off valves at the rear of the last trailer must be closed.
DMV Writen Test