行かなければ

have to go

→ 行く
行か to go + なけれ Negative conditional + ば Conditional (“if”)
verb · informal Rare #27,033
have to go A shortened expression of obligation; the rest of 「行かなければいけない/ならない」 is omitted.
JA: 彼女はすぐに行かなければと言った。
EN: She said she had to go right away.
Conjugation of 行く

先に行かなければいけないのは僕です。

I'm the one who has to go first.

鈴芽さん 行かなければ!

Suzume, you have to go!

— すずめの戸締まり (2022)

では行かなければ

Then I have to go.

— ライフ・イズ・ビューティフル (1997)

彼は今すぐ行かなければなりませんか。

Does he have to leave right now?

彼女はすぐに行かなければと言った。

She said she had to leave right away.