No, we don’t get the connects back if we withdraw a proposal.
We get the connects back if the job is cancelled (by Upwork or the client), and that too within a certain period of time.
Yes, Joe Luis.
However, please, note that connects are not returned when you withdraw your proposal. Connects are only returned when either the client or Upwork cancel the job without hiring.