Different regs in the Army, but you get 365 days to be on a "temporary" medical profile and still receive flight pay. Since flight pay is service wide, I would think the Navy has a similar policy.
I tore my labrum (3/4 of circumference) and rotator cuff, had surgery, and was back flying in 4...