Three-time Grand Slam champion Andy Murray says he “won’t quit” tennis despite being in a “terrible moment”.