If the animal is in a chimney near the top, you can use a long pole with a hook on one end to reach it and use a hammer to hit it against the side of the chimney until it falls out.