Did the entire valve come off the pipe? Or did trv head alone come off? If the latter then if its a cheap one the plastic becomes brittle and could possibly become detached, this would then release the pin allowing the water to gush out.
Or maybe the plasterer knocked it.
if the entire valve...