To rearrange the Mac menu bar icon, press and hold the Command key and drag the icon to the necessary place.