“...pranging the admiral’s executive secretary.”
In RAF slang, “prang” means to crash. Maybe while he was boinking he wound up pranging. His career, that is; forgetting the old adage,
“Don’t dip your pen in the company ink.”