score:5
A flag is flown at half-mast in memoriam as long as deemed appropriate by the head-of-state of the sovereignty. Note that in U.S. state governors are deemed to be sovereign within their states in this regard. (The precise delineation between Gubernatorial and Presidential authority in this regard is a Constitutional Law issue on which SCOTUS hasn't ruled on yet (to the best of my knowledge).)
For the death of a particularly important personage of a sovereignty it is traditional to fly the flag at half-mast until internment. This was, for example if perhaps reluctantly, the case for the death last summer of John McCain.
President Trump belatedly issued a statement praising McCain's service to the country, and signed a proclamation ordering flags to be flown at half-staff until McCain's interment
In both Canada and the U.S. protocol is that a flag is flown upside down only as a signal of extreme distress; otherwise doing so is regarded as desecration.