At the very least.
If he shows up for work every day, he he can hardly be considered AWOL. Disobeying an order or failing to deploy is another matter.
If they just discharge him, he still gets his retirement since he already has 18 years in. That would be a bit awkward since there is a shortage of doctors on active duty.