I see you have a 2015 so I assume the run for a while and stop has never been a problem before? There are some folks that swear overfilling the Onan 4KW gens (up to the fill mark) causes this problem with a solution of removing some oil down to or just above low oil mark when level. I am not sure about that though......unless you recently had your oil changed by someone. The other common complaint seems to be bad or failing fuel pump. Attached is a good video on youtube for checking that since you have no codes apparently.