OP said "did" implying finished. It's a six year residency minimum, though the first year is general surgery. It's not often people do the whole damn thing, then decide to bail. Usually it's after 2 or 3 years
Though some people are less burdened by golden handcuffs and sunk-cost fallacy
Plus, I've never met a happy (or sane) neurosurgeon