ROSbot class is using
hMotor interface internally, thus when you call
rosbot.initROSbot() it takes control over all motors.
To control motors of ROSbot, you should rather use
ROSbot::setSpeed(), it will adjust individual motors power to drive ROSbot with desired speed.
There is no method for uninitialization of
ROSbot, such process would break odometry functionality.