Just discovered that on Ubuntu if you press the play media button on your keyboard after failing to pick up a MS Teams call, it plays the ringtone on loop despite there being no call any more.
ack, it's doing it again!
and to satisfy @Htbaa's curiosity: no, it doesn't keep going after you close the app