From Wiktionary, the free dictionary
Literally, “to order oneself to change”.
mandarse a cambiar (first-person singular present me mando a cambiar, first-person singular preterite me mandé a cambiar, past participle mandado a cambiar)
- (idiomatic) to up and leave; take off