If a gate controlling a railroad crossing does not go back up after a train passes, you should:

If you are stopped at a railroad crossing and a gate fails to return to its open position after a train passes, call your dispatcher. Do not attempt to drive around the lowered gate.
DMV Writen Test