A surgical instrument, comprising: an end effector; a rotatable shaft assembly; a motor configured to couple to a gear assembly of the rotatable shaft assembly, wherein the rotatable shaft assembly is configured to rotate about a longitudinal axis, wherein the rotatable shaft assembly comprises a rotational position sensor configured to measure the rotation of the rotatable shaft assembly around the longitudinal axis, wherein the motor is configured to apply a rotary force to rotate the gear assembly, wherein the rotation of the gear assembly rotates the rotatable shaft assembly about the longitudinal axis, and wherein the motor comprises an energized condition and a de-energized condition; and a control circuit coupled to the motor, wherein the control circuit is configured to: monitor a rotational position of the rotatable shaft assembly based on a signal from the rotational position sensor; identify a predetermined desired position corresponding to the rotational position of the rotatable shaft assembly; receive rotational input from the rotational position sensor indicative of a current rotational position of the rotatable shaft assembly; determine a control action of the motor in response to a current rotational position of the rotatable shaft assembly that does not correspond to the desired position; and control the rotation of the rotatable shaft assembly when the current rotational position corresponds to the desired position, wherein controlling the rotation of the rotatable shaft assembly comprises placing the motor in the de-energized condition. an end effector; a rotatable shaft assembly; a motor configured to couple to a gear assembly of the rotatable shaft assembly, wherein the rotatable shaft assembly is configured to rotate about a longitudinal axis, wherein the rotatable shaft assembly comprises a rotational position sensor configured to measure the rotation of the rotatable shaft assembly around the longitudinal axis, wherein the motor is configured to apply a rotary force to rotate the gear assembly, wherein the rotation of the gear assembly rotates the rotatable shaft assembly about the longitudinal axis, and wherein the motor comprises an energized condition and a de-energized condition; and a control circuit coupled to the motor, wherein the control circuit is configured to: monitor a rotational position of the rotatable shaft assembly based on a signal from the rotational position sensor; identify a predetermined desired position corresponding to the rotational position of the rotatable shaft assembly; receive rotational input from the rotational position sensor indicative of a current rotational position of the rotatable shaft assembly; determine a control action of the motor in response to a current rotational position of the rotatable shaft assembly that does not correspond to the desired position; and control the rotation of the rotatable shaft assembly when the current rotational position corresponds to the desired position, wherein controlling the rotation of the rotatable shaft assembly comprises placing the motor in the de-energized condition. monitor a rotational position of the rotatable shaft assembly based on a signal from the rotational position sensor; identify a predetermined desired position corresponding to the rotational position of the rotatable shaft assembly; receive rotational input from the rotational position sensor indicative of a current rotational position of the rotatable shaft assembly; determine a control action of the motor in response to a current rotational position of the rotatable shaft assembly that does not correspond to the desired position; and control the rotation of the rotatable shaft assembly when the current rotational position corresponds to the desired position, wherein controlling the rotation of the rotatable shaft assembly comprises placing the motor in the de-energized condition.