"Get out of town
" is an uncommon but used phrase that is basically a nicer, censored way of saying "F**k off" in result of a dislikable situation or outcome of a situation.
Mr. Jones - "James! Your getting double homework for not paying attention!"
James - "Aww get out of town!"