I realized a few days into my current job that it was a bad fit for me. Unfortunately I'd have to pay back the $10k relocation package if I left, so I decided to stick it out. Last year I interviewed with a company and was ready to take the job but I had drinks with the manager and decided it was too much of a brogrammer shop for me. Looking back, if I had taken the job, I would have worked with friends, the brogramm…
For the future, this kind of stuff is very easy to negotiate with the new company, and should definitely not be the thing holding you back. E.g. "you would have paid relocation for me but I'm in the same city so help me pay back my current company for it instead".