A surgical instrument comprising: (a) a body; (b) a shaft assembly extending distally from the body; (c) a stapling head assembly located at the distal end of the shaft assembly, wherein the stapling head assembly comprises a distal surface, wherein the stapling head assembly is operable to drive an annular array of staples through the distal surface; (d) an anvil, wherein the anvil is configured to couple with the stapling head assembly; (e) an anvil adjustment assembly, wherein the anvil adjustment assembly comprises a translating member, wherein the translating member is operable to translate relative to the body along a longitudinal axis to thereby adjust the longitudinal position of the anvil relative to the distal surface of the stapling head assembly; (f) a first trigger, wherein the first trigger is operable to actuate the stapling head assembly to thereby drive the annular array of staples through the distal surface toward the anvil; and (g) a lockout assembly, wherein the lockout assembly comprises an electrically powered braking feature, wherein the lockout assembly is configured to transition between a first state and a second state, wherein: (i) in the first state, the lockout assembly is configured to permit translation of the translating member, and (ii) in the second state, the lockout assembly is configured to prevent translation of the translating member, wherein: the electrically powered braking feature comprises a solenoid; the braking feature further comprises a lock member, wherein the solenoid is operable to selectively drive the lock member into engagement with the translating member to thereby prevent translation of the translating member; and the anvil adjustment assembly comprises an annularly arranged array of teeth, wherein the lock member comprises an angularly arranged array of teeth, wherein the solenoid is operable to selectively drive the teeth of the lock member into engagement with the teeth of the anvil adjustment assembly to thereby prevent translation of the translating member. (a) a body; (b) a shaft assembly extending distally from the body; (c) a stapling head assembly located at the distal end of the shaft assembly, wherein the stapling head assembly comprises a distal surface, wherein the stapling head assembly is operable to drive an annular array of staples through the distal surface; (d) an anvil, wherein the anvil is configured to couple with the stapling head assembly; (e) an anvil adjustment assembly, wherein the anvil adjustment assembly comprises a translating member, wherein the translating member is operable to translate relative to the body along a longitudinal axis to thereby adjust the longitudinal position of the anvil relative to the distal surface of the stapling head assembly; (f) a first trigger, wherein the first trigger is operable to actuate the stapling head assembly to thereby drive the annular array of staples through the distal surface toward the anvil; and (g) a lockout assembly, wherein the lockout assembly comprises an electrically powered braking feature, (i) in the first state, the lockout assembly is configured to permit translation of the translating member, and (ii) in the second state, the lockout assembly is configured to prevent translation of the translating member,