Obedience

If a pokemon listens to it's trainer, It is called an obedient pokemon. But there are cases when a pokemon doesnt listen to it's trainer, this is called disobedience.

In the Games
The pokemon wont obey the trainer if the pokemon is at a very high level and the trainer doesnt have enough badges to train it. This is done so that players won't transfer a high levelled pokemon from another game and beat the game. Having all eight badges makes all pokemon obey a trainer. In the generation three games, Mew and deoxys which were not met in a fateful encounter will always disobey the trainer, regardless of the number of the number of badges they have.

In the Anime
Pokemon sometimes do not obey their trainers in the anime too. This disobedience is not due to having enough badges, it is because the pokemon may not trust you or respect you. This disrespect is usually overcome by emotionally appealing the pokemon or by an act of selflessness

Pokemon which weren't or aren't obeying their trainers:
 * 1) Ash's Pikachu
 * 2) Ash's Charizard
 * 3) Ash's Primeape
 * 4) Misty's Psyduck(not purposefully)
 * 5) Otoshi's Marowak
 * 6) Guy's Loudred
 * 7) Dawn's Mamoswine
 * 8) Dawn's Buizel ( But it listened to Ash)
 * 9) Iris' Excadrill
 * 10) Iris' Emolga
 * 11) Luke's Zorua
 * 12) Bianca's Excaliver
 * 13) Iris' Dragonite
 * 14) Ash's Froakie(before joining Ash)