Quahog is in the grip of a terrible heat wave and, not having air conditioning, the Griffins are suffering. Peter learns of an upcoming dog show wish a top prize of $500, which he thinks is the perfect way to purchase an air conditioning unit for his family. He persuades a reluctant Brian to participate, but when Peter wants Brian to do a demeaning trick, (Begging for a treat) Brian refuses and exits in a huff.
On the way home, Peter and Brian argue until finally, Brian angrily exits the car. The police give Brian a warning for violating leash laws, which Peter has to pay, thus furthering their rift. Brian leaves the house, whereupon he is treated shabbily by the community, and ultimately forced to sleep in a bus station. By the time Peter decides to apologize, Brian has hit rock bottom, having actually attacked a man on the street and having been hauled away by the police.
At the pound, Brian is sentenced to lethal injection. But when he gets to plead his case, it's Peter who steps in and delivers an emotional appeal on his behalf. The charges against Brian are dropped and the town shows him a new respect.