Usual visit visa fine = 200QR/day. So calculate from there and be prepared to pay the piper for the delay. He may have to exit and re-enter, plead with the captain and hope you can just do the Bahrain and back trip w/visa on arrival. If not, patience...