The aircraft returned safely to the airport and another 737 MAX 9 was dispatched to operate the flight.