[/QUOTE].....Isn't the captain of an aircraft carrier typically a rear admiral?.....[/QUOTE]
The captain commands the carrier. The admiral commands the carrier task force, which is the carrier and all the escorts, support ships and usual a submarine. The admiral does this from the carrier, but he isn't directly in command of it.