What brand chain/masterlink? Some brands have re-useable masterlinks (KMC, Wipperman), some are one-time use masterlinks (SRAM).
As a habit, I keep a spare masterlink in my bag and tool box.
You might want to check that the links in the area freely rotate.