When going rogue was first used it had a fairly specific meaning of ‘behaving in an erratic or dangerous fashion.’ The expression today is more likely to be used to indicate that someone is displaying some degree of independence or failing to follow an expected script. And it need not be applied only to elephants (either real or symbolic ones). More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.