A surgical device is provided. The surgical device includes: a jaw assembly comprising a first jaw and a second jaw moveable relative to the first jaw and an elongated body removably coupled to a proximal end of the jaw assembly. The elongated body includes an actuation bar movable upon engagement of the jaw assembly with the elongated body to secure the jaw assembly thereto; a release button coupled to the actuation bar such that the release button is movable by the actuation bar upon engagement of the jaw assembly with the elongated body and the release button is configured to move the actuation bar to allow for removal of the jaw assembly from the elongated body; and a lockout button in mechanical cooperation with the release button, the lockout button configured to prevent actuation of the release button.