It’s a system similar to that of a “black box” on an aircraft that sends a signal via GPS every 30 seconds to 2 minutes depending on how it is set up, and although not mandatory on ships, is now a safeguard , but is not infalible.
The first thing the “pirates” would have done is disable the transmitting module, as it is (unlike an aircraft, where built into the airoplane’s fabric) usually situated in the bridge,and easily accesible.
Sadly, Bob, I doubt that she will be seen via AIS again.