i signed to allow to leave canada
You're lucky, but you're definitely flagged in the system as someone who may not respect Canada's immigration laws.
In the future you
must declare all visa refusals
and this denial of entry to Canada, along with full explanations.
When you log into your GCKey, verify that the document status of your TRV is still "valid."