how to correct “unknown root shell” in shell in a box

I’m having problem of directory due to a typo in a command I wrote in my command

I made a typo while writing this command
chsh -s/usr/local/bin/bash/<username>
instead of using this chsh -s/usr/local/bin/bash <username>
because of that, when I want to use the su command I receive not a directory error and I didn’t know that to do. chsh -s/usr/local/bin/bash in order to solve it my self, but it gave me this error: pwd_mkdb: warning, unknown root shell, and displayed chsh: user information updated. But the issue persisted.

Additional info: Os NAME=FreeBSD;VERSION=”13.3-RELEASE-p4″;VERSION_ID=”13.3″.