He should have been destituted. But he was part of Napoleon's extended family by marriage and condemning a marshal of the empire would not have been advantageous, though it would have been common sense.
Bernadotte's actions on 13-14 October are despicable and dishonorable for any soldier worthy of the title. There is good reason that Davout referred to him as 'le miserable Ponte-Corvo.'