She was not detained by Canada's border service.
Immigration detention pending a return to the country of origin seems reasonable at that point. 10 days of detention to figure out transportation to the country of origin doesn't seem reasonable though.
God I had a memory of Lemmings pop up. Thank you for that, it made me smile.