Bukkit/CraftBukkit — comment on commit bee3e4be64a9c9d1a33cc90fcb111e7b7bcf0730
File: src/main/java/net/minecraft/server/EntityPlayer.java line 330
By feildmaster:

No, you can't cancel it as it doesn't store any information. It only detects a level change.