thwart

Definition

To prevent something from succeeding or to frustrate a plan or effort.

Example

"The guards managed to thwart the prisoner's escape attempt."