lsof -i :5432 gave no output for me. going to MacOS's Activity Monitor, searching for postgres, selecting all of the results, then clicking on the ⓧ to kill them fixed it for me.
lsof -i :5432