An adapter for use with an electromechanical surgical instrument. The adapter includes a shaft assembly and a surgical end effector that is selectively articulatable and rotatable relative to the shaft assembly through a range of articulated and rotated positions. The adapter includes sensing and control arrangements for monitoring and maintaining the end effector in articulated and/or rotated positions.