I was watching a history programme the other day and a fletcher was demonstrating archery. He asserted that the phrase cock-up came from archery, when the arrow is drawn with the feathers in the wrong position (unsure what that is), misfires and spins away.