Now I dont usually do this, but I am going to take a standpoint that alot might not agree with.
I understand your position and your issues; but retirement at 20 years and only 14 in is really asking ALOT from the force if you have agoraphobia. There are medical retention standards for a reason because the military works off of a needs basis. We all know this very well. As an officer, I know that manning, planning, and stratagy should come easy to you.
Asking the military to allow you to fill a slot without the ability to perform, work, or even show up is very selfish. The slot and assignment that you fill is unfillable. Now staying in the military consists of working a military job, and providing the military with your talents, intellegence and professional conduct. None of these can be achieved at home.
I am very sorry to hear about the agoraphobia, it is a very debilitating condition. But expecting the government to keep you, pay you, and retire you when you are unable to perform any action for them is downright selfish.
Your health is paramount! I would work with your BH department in managing your disabilities in a way that can be beneficial for both you and the military. That way, you still get to serve, and the military gets to utilize your skills.
In the end, I find it selfish and egotistical to expect to retain a position or job without performing that job. 7 Years of Active Duty benefits, pay, honor, and support without putting on the uniform is close to fraud.
I wish your recovery, future, and carreer well! Best of luck!