code: protected void stopping() {
          if (mementos != null) {
              for (int i = 0; i < mementos.length; i++) {
                  mementos[i].restore();
              }
          }
      }
docs: Called when the animation is stopping