Snakes obviously learn from their experiences just like the rest of us. A taste of freedom has been known to awaken their instincts, but also that had to be a frightening experience for the snake, and some have a harder time trusting again, IMO. Then again, museums can be pretty chaotic places for snakes.