IMAP issue using Apple Mail OS 12.6.3

IMAP issue using Apple Mail OS 12.6.3

My Mac ap is often stuck on  "moving messages' and I don't seem to be able to fix it. I've tried disabling the account but it just sits there, unable to get new mail. Has been doing these for a few days now.