By June 1, 2018, the Sabres were unable to sign Hagel to a contract and relinquished their rights to him, allowing him to become eligible for the 2018 NHL Entry Draft.[11] He was subsequently invited to the Montreal.
Was trying to find a link but couldn't find one but this on Wikipedia