If it can still fly, even if just a little, the best bet is to let it go. It is extremely stressful for a wild bird to be near people. It is possible that it maybe hit a window or car and was slightly stunned. With a little time it may fully recover. It can do that more quickly if left alone outside.