Nobody ever claimed that. In fact, that's the very exact Council that the UK had to notify about its intention to leave the EU.
EDIT: Theresa May did claim that her campaign in 2020 would focus on that. So, they're not leaving it for three years at least.