> Cooper’s hawk is on a rather short list of bird of prey species that have successfully adapted to life in cities. A city is a difficult and very dangerous habitat for any bird, but particularly for a large raptor specializing in live prey: you have to avoid windows, cars, utility wires, and countless other dangers while catching something to eat every day. Peregrine falcons adapted quite well, and they're much more…
https://en.m.wikipedia.org/wiki/Flaco_(owl)
Even his death (due to a collision with a building) was likely less because of his ability to survive, since he managed to learn all the skills necessary, and more due to the fact that his primary food source, rats in and around the city, were laden with rat poison.
We have consistently and regularly underestimated non human animals cognitive abilities which is frankly strange if you understand evolution since it would be strange for only humans to have a certain evolutionary feature such as intelligence and every other species to not have it at all.