I don't remember anyone ever going inactive due to medical reasons during my years of college, but I think that as soon as you are feeling up to it, you would be allowed to go active again.
It's very understandable that you need to focus on recovery and school right now. I think your chapter will be equally understanding.
Best wishes