A gardening tool, such as a mower, has a main body having an accessory, such as a mowing blade, and a motor for driving the accessory. A handle is rotatably connected to the main body. At least one operation assembly is associated with the handle for being operated by a user to control the motor when the handle is located in a predetermined position. A control system prevents the motor from being controlled by the operation assembly and halts the motor when the handle is located out of the predetermined position.