NYC income tax on W2 and I am not NYC resident

I am not nyc resident. my employer did not correct my w2 for most of the year. when I received my w2 it reflects the taxes paid to nyc. after completing my taxes on turbo tax I do not see that that amount is being return to me OR if I owed NYS taxes and that amount is paying that possible charge. could nyc taxes be forfeited?