Richard von Bothmer, Generalmajor