I'm going to start out by saying this is the one time this bug actually happened, so I don't have proof and it's definitely not some major problem with the Switch.
Anyway, tonight I went to play my switch in tabletop mode to resume a mk8d. Upon waking it up, my right joycon connected just fine...