Literally, “to send to the horn”.
mandar al cuerno (first-person singular present mando al cuerno, first-person singular preterite mandé al cuerno, past participle mandado al cuerno)