The paper considers the possibility of rotating a small moon by 180 degrees from a dynamic point of view using two rocket engines mounted on the surface of the moon. A thrust control law for the engines which allows to turn the moon over and then stabilize it relative to a new equilibrium position by parrying a gravity gradient torque is proposed. The dynamic aspects of such an experiment are discussed using the example of the Mars satellite Deimos.