Original: He received the punishment of being forced to shoot an apple off the head of his son, Walter, or else both would be executed.
Simplified: He was arrested and forced to shoot an apple off his son's head with a crossbow, if he did not both he and his son would be killed.