I'm not certain about that
I'm not certain who pays the salary of active duty military personnel on astronaut duty - NASA or the particular service. I think it's the service who pays. I'm pretty sure many astronauts have left NASA and returned to military service in the past which suggests to me they're still on the military payroll.
