Try resetting your BIOS to defaults and seeing if that fixes the issue.
I bought my XPS 13 7390 in January, 2020. Just in the last week or so it has started misbehaving in that the fan continues to run even after it has been shut down.  The fan runs for hours after shut down apparently never stopping (it has run all night long - 8 to 10 hours) , and the computer does not start up again immediately when I push the Power On button.  I must hold the Power button down for a good while, and then the machine finally starts.  How can I fix this problem?
XPS 13 7390 Fan runs continually even after shut down