The water that is directly above the hole is not being accelerated by the cup. Therefore, it drains out. When you let go of the cup, the water and the cup are traveling at the same velocity, therefore, the water can't drain out.
I really hope you were not serious.