UN chief Antonio Guterres on Thursday urged India and Pakistan to exercise "maximum restraint" and refrain from taking steps that could affect the status of Jammu and Kashmir, as he highlighted the Shimla Agreement which rejects any third-party mediation on the issue.