This is a pun on 'died' which means to cease to exist, but 'dyed' is used in it's place because it sounds similar and because it means having been colored with a dye, like you do with hair 
Everybody was in shock when the hair stylist dyed .