A bar magnet has a rectangular shape - it's essentially a straight bar with two opposite magnetic poles at its ends. Circular would describe disc magnets, oval is not a standard magnet shape, and U-shape describes horseshoe magnets, not bar magnets. The rectangular bar shape is fundamental to its designation as a 'bar' magnet.