The surgical or traumatic transection of an axon, the long fiber that transmits electrical signals in a neuron.