The captain has to sleep sometimes..its the OOD that needs brig time.
The captain is ALWAYS responsible. If the EO or OOD screws up, it is the captain’s fault. If he hasn’t trained his underlings properly, it’s on him. If they don’t wake him up, it’s on him. If hi as to duct tape himself to a chair on the bridge, then that’s what he has to do.
And finally, if he is saddled with an incompetent affirmative action hire, it is still on him.