No,Canada didn't leave the commonwealth.
As an independent nation, Canada joined the British Commonwealth in 1931. It is one of the 56 current Commonwealth nations and continues to be the largest from a geographical standpoint.
Commonwealth countries typically choose to join the organisation due to their strong diplomatic and historical ties to the United Kingdom.