There might be a few reasons why your Nintendo Switch is not charging. First, make sure you're giving it enough time to charge and restart.
You can cancel a Nintendo Switch Online membership through your Switch's Nintendo eShop app. You can do this at any time after subscribing.