2014 Ford Fiesta radio kept playing after car turned off

Twice when I turned my car off the radio continue playing. It ran the battery down and the last time it had to be towed. They couldn’t find anything wrong.

If it doesn’t turn off as soon as you open the door, I would suspect there is a problem with that sensor/switch.