PM leaves for home after UK visit