On the Deutsche Bahn website, you need to log in and then navigate to the page called My subscriptions. In the following page you can view your 49-euro ticket subscription and click the action cancel. You then select the date you want to cancel your subscription.