A school in Albuquerque kept students and staff inside for more than an hour until an adult male bear was removed from a nearby tree.
Police said the precautionary shelter-in-place order was lifted on Friday at Kennedy Middle School after state game and fish officers used a tranquilizer dart to subdue the 200-pound bear.
Officials said the animal was in good condition and would be returned to the wild.
It had not been previously tagged for wandering in the city.
Albuquerque and Santa Fe have seen numerous instances of bears entering those communities because of lack of food and water in nearby forests and hills.
Copyright 2013 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.