What does aww appeared to be caught mean in Pokemon?

It means that you almost caught the Pokemon. It says that when you have two shakes.