When mobs start to attack you in survival and you switch to creative mobs keep attacking you
If you attract the attention of a hostile mob (a zombie or spider) IN SURVIVAL MODE and type /gamemode 1 (to go into creative mode) The mobs that were pursuing you before will continue to follow you and attack you, while attacking mobs in creative mode should only cause them to be aggressive for a short time.
-