The Guitar Police won’t chase you down if your thumb occasionally moves away from the back of the neck. Your thumb moves around, dependent on your grip and what notes you’re trying to reach. In most cases, it will be somewhere behind the neck. Some players occasionally use their thumb to mute the low E string. It’s not a hard-fast rule that your thumb needs to stay behind the neck…..but it is good form.