A working machine according to one aspect of the present disclosure comprises an operating device, a working tool, a driving device, a braking device, a detection device, and a change device. The detection device detects a mode of an operation performed on the operating device. The change device changes a brake control to be performed by the braking device according to the mode detected by the detection device.