Upwork, like numerous other companies nowadays, holds a significant amount of people's money at any given moment. If they confirm that they will refund you, chances are they will eventually do so, but it will be on their own timeline. It's unfortunate that Upwork initially tried to fool you, but...