Please follow the advice below and see if they fix the issue:
-
Try a new USB cable making sure it is a DATA USB one and not a charging one.
-
In the case you are using a USB-A to USB-C dongle try another one(preferable offical apple); Also try flipping the dongle upside down in different orientations as this can make a difference at times.
-
Try another port on the Mac see if it has the same behaviour
-
Make sure the board is directly connected to the USB port without USB hub in between.
-
Make sure AVR core is up to date on Arduino IDE > Tools > Boards > Board Manager: search for Arduino UNO and update/install the AVR core, that is, the latest version.
-
Connect the board to a different computer and check if it has the same behaviour.