Beast, which likely came from local woodland, wandered through the grounds for eight hours before being caught