A raccoon that became an internet sensation by scaling a 25-story office tower in downtown St. Paul was safely trapped early Wednesday, and animal control officials were preparing to release it back into the wild.