Andy Murray is still hopeful of finishing his career on a winning note but admits “there is no perfect ending in most scenarios.”