A bowed rotor prevention system for a gas turbine engine of an aircraft is provided. The bowed rotor prevention system includes a bowed rotor prevention motor operable to drive rotation of a starting spool of the gas turbine engine through an engine accessory gearbox. The bowed rotor prevention system also includes a controller operable to engage the bowed rotor prevention motor and drive rotation of the starting spool until a bowed rotor prevention threshold condition is met or a bowed rotor prevention shutdown request to halt rotation of the starting spool is received.