Metaphysics

A person explains that they left a room because the smoke alarm sounded. In a causal explanation of the departure, what role can the person's belief that there was danger play?