If the top of the needle bar is like the needle bar on my New Home AB, I would remove it from the machine and put it in a vise. Then using an adjustable jaw wrench I'd gently coax it back into place. This isn't really hard steel so it's not brittle. Heat might help too.
Joe