This chapter does not apply to the Coast Guard when it is not operating as a service in the Navy.