How can I stop animations on the Matrix?

Same as title, does anyone know how to stop the animation? Was working on a startup code that plays 2 animations, then displays the "uno" frame. Issue is, the 2nd animation won't stop. My code is below.

#include "Arduino_LED_Matrix.h"  // Include the LED_Matrix library

ArduinoLEDMatrix matrix;  // Create an instance of the ArduinoLEDMatrix class

void setup() {
  Serial.begin(115200);  // Initialize serial communication at a baud rate of 115200
  matrix.begin();        // Initialize the LED matrix
}

void loop() {
  matrix.loadSequence(LEDMATRIX_ANIMATION_STARTUP);
  matrix.begin();
  matrix.play();

  delay(4800);
  
  matrix.loadSequence(LEDMATRIX_ANIMATION_DOWNLOAD);
  matrix.begin();
  matrix.play();
  
  matrix.loadFrame(LEDMATRIX_UNO);
}

Any ideas?

Try this:

#include "Arduino_LED_Matrix.h"  // Include the LED_Matrix library

ArduinoLEDMatrix matrix;  // Create an instance of the ArduinoLEDMatrix class

void setup() {
  Serial.begin(115200);  // Initialize serial communication at a baud rate of 115200
  matrix.begin();        // Initialize the LED matrix

  matrix.loadSequence(LEDMATRIX_ANIMATION_STARTUP);
  matrix.play();
  delay(4800);
  
  matrix.loadSequence(LEDMATRIX_ANIMATION_DOWNLOAD);
  matrix.play(true);
  delay(4800);
  
  matrix.loadFrame(LEDMATRIX_UNO);
}

void loop() {
}

Worked perfectly. Thanks!