The restaurants are usually open until 10:00 PM using the last guest sitting down then, 11:00 PM on weekends with likely exception when the restaurant includes a full bar for example within the Hotel Kabuki and Hotel Tomo, most likely until 12 MID.
Subsequently, you can also ask, how late is Japantown open?
Usually the shops near by 7:00 PM some 6:00PM. Supermarkets close at 7:00 PM, however, many non-food related shops might have more extended hrs until 8:00PM.
Similarly, is Japantown SF Safe? Japantown doesn’t border the TL. That map is very from scale. It’s pretty safe, especially throughout the day.