Awry

If something goes awry, it does not happen in the way it was planned.