broken master cylinder piston

well i dont know what happened exactly but the tailight switch bracket got bent and allowed pedal to move toward dash and master cyl piston follwed it it was not yanked on so i dont know i replaced switch and bent bracket back into 90 degree position no problems so far any body ever heard of this happening