Did you not read “retired”?
That is true. Except General officers are never retired and they are always subject to recall.
They may be brought back to active service at anytime...at the descretion of the President. That prevents coups as well.