A surgical device includes an actuator assembly including a handle, an adapter assembly extending distally from the adapter assembly, and a tool assembly supported on a distal portion of the adapter assembly. The adapter assembly includes a rotation assembly that rotatably supports the adapter assembly in relation to the actuator assembly and a wire harness that allows the actuator assembly to communicate with the tool assembly. The rotation assembly includes a stop assembly for limiting a degree of rotation of the adapter assembly in relation to the actuator assembly to prevent separation of the wire harness from communication with the actuator assembly and/or the tool assembly. The stop assembly includes a stop plate and a stop pin that are spaced from the wire harness to minimize the likelihood of damage to the wire harness during rotation of the adapter assembly in relation to the actuator assembly.