hit the biscuit
When something is going really well (such as a cup of tea) but then it turns bad (hitting the biscuit you dropped in there earlier)
My revision was going really well this morning, then I hit the biscuit and came up with a new phrase instead