A clutch mechanism of a downhole assembly and a method of operating the assembly in a borehole. The clutch mechanism includes a plug including a mandrel and a wall-engaging component, a sub of a ball valve, the sub coupled to the mandrel, a torque lock nut of the ball valve, the torque nut coupled to the wall-engaging component, and a clutch of the ball valve. The clutch is moved axially against the torque lock nut to engage the torque lock nut to the sub. A torque is applied on the clutch to rotate the sub of the ball valve via transmission of the torque from the clutch to the ball valve via the torque nut. Application of the torque against the sub actuates the ball valve.