you should be able to do some rails commands to rename it back. if your section is indeed called the-forum, then i think this should work from the rails console:
cd /var/discourse
./launcher enter app
rails c
section = SidebarSection.find_by(title: 'the-forum', public: true)
if section
section.update!(title: 'community')
puts "Done: renamed to 'community'."
else
puts "Section not found."
end
definitely back up first.