Heat a skillet over medium-low heat. Spread the softened butter on the outsides of the bread. Spread the cranberry relish on the insides of the bread.
On top of one slice, place half of the grated cheddar. Top with the pear slices, and then top with the remaining cheese.
Cover the sandwich with the second bread slice, butter side up.
Place it in the skillet and cook until golden on both sides and the cheese is melted. Serve immediately.