In this sentence, which definition best fits the precise meaning of the word barred ?

A pile of fallen rock barred the way forward.

(noun) a rigid piece of wood or metal
(verb) prevent entrance or movement
(noun) a unit of pressure
(verb) fasten with a bar