An officer of the Regular Coast Guard who is discharged under this section or section 2142, 2143, or 2144 of this title and has completed 6 or more, but less than 20, continuous years of active service immediately before that discharge or release is entitled to separation pay computed under subsection (d)(1) of
section 1174 of title 10.