Your shampoo isn’t a solvent that can help you get the chewing gum out of the hair. Thus washing your mane won’t help much.