German Chancellor Angela Merkel and her Danish counterpart stressed on Tuesday that they want to retain a close relationship with Britain after its withdrawal from the European Union.