Most people do not realize that absolute fact. There was no transportation in Japan by 1945.. The rice harvest would not have been distributed.
People who complain about ending the war with atomic bombs also discount the fact that thousands of Chinese citizens were being killed and starved to death every day the war was allowed to continue.
Thanks to lack of manpower, Japan had had the worst rice harvest in 50 years in 1945. An estimated 4-8 million people (civilians no doubt) would have starved to death in Japan in the next 6 months without massive American food aid to prevent it.
I don’t know what transportation you referrring to but the USS Barb was still sinking shipping and a train in 1945.
At the link below go to the paragraph near the bottom that starts with “Her 11th war patrol began”.
The Barb was busy to the end of the war.
https://www.history.navy.mil/browse-by-topic/ships/submarines/barb-ss-220.html