The operating controller does not switch back to the new setting mode navigate
// from
operatorManager.set(OperatorId.Navigate, 0);
// to
operatorManager.set(OperatorId.WalkMode, 0);
// Right click moving object
// to
operatorManager.set(OperatorId.Navigate, 0);
// Right click moving object
The walk operator is a rather specialized operator in the sense that it will make certain modifications to the camera attributes – including the camera target. In your example, when the walk operator is enabled, the model is already out of position and so the new camera target can be different from the starting target. For optimal results, the walk operator should be enabled when the model is centered and not zoomed out.
When switching back to navigate from walkmode, the navigate operator is enabled BUT the camera setting needed for walkmode is not changed back, for example the camera projection. This is by design. Take for example a common usage case for the walk operator inside a BIM model where the user is walking through the floorplan. Switching back to the original camera attributes of the navigate operator will likely put the user out of the builidng and out of position.