Just FYI, but this thread is almost two years old.
I'm going to ask some questions to see if we can help you.
1 - How old is he?
2 - What are you feeding him?
3 - Is he eating and pooping?
4 - What does his poop look like? Pictures would be good.
5 - What is his home like?
6 - How many quail...
It sounds like some sort of head injury. You have a hard decision to make. In my experience, she might recover, but it's going to take time. Weeks. The other choice is to cull. It certainly won't hurt to try the B-complex and vitamin E that @azygous suggested.
I had a bird that I found...