I need some help to interpret a sentence. I would like to know what "switch it off" means here for a native speaker. The girl here is thinking about how some people have the ability (which she doesn't have) to remember music and to always hear music in their minds. (The garage is the place where the girl works):
Whenever anything did get stuck in her head— a jingle from a television commercial, some popular tune— she found it claustrophobic and couldn’t wait for it to stop. When music was playing on a stereo or in the garage, she could tune it out or switch it off if it got tiresome, but now she wondered if this was a shortcoming on her part.
Does "switch off" mean "turn off physically the stereo or the music", or just the mental action of ignoring it?