It's hard for any of us to say what happened at the border with certainty. However based on the information you've provided, it does not sound like you lost PR. So most likely you are still a PR now.
There is nothing you can do now since you are not ready to return to Canada.
Once you are ready to return to Canada to live here permanently, you will need to try to re-enter Canada through a US/Canada land border using a private vehicle and hope you are not reported at the border for failing to meet the residency obligation. If you are reported, you should expect to close your PR status and be told to leave Canada. If you are not reported, then you will need to live in Canada for two years before you will be able to apply to renew your PR card and know your PR status is safe. During these two years, you want to avoid any trips outside of Canada. You may also find it difficult to do certain things during those two years (like get health care coverage) without a valid PR card. If you happen to have a spouse or children, you won't be able to sponsor them for permanent residency until you complete the two years of living in Canada and meet the residency obligation.