To fail, lose, or mess up something before you even start.
Nicolas cannon'd his final exam by not studying and drinking all night.