Turning phones "off" may not in fact turn everything off. Even removing batteries may not accomplish that, because there may be backup batteries. At least the baseband radio may remain active. It may be possible to geolocate, and to access the microphone and camera. I say "may" so much because it varies among devices.
I believe certain signals are transmitted from your phone even if it's "off". Removing the battery might stop some of them, but even this supposedly doesn't stop everything.