Energy minister Andrea Leadsom abruptly withdrew from the contest to succeed David Cameron as Britain's prime minister on Monday, leaving her rival Theresa May as the only candidate.