How do i unbind all custom actions then rebind the default roblox actions

so basically im making a game that uses roblox gear in it but theres a problem with some gear in which when you die with them equipped on mobile, the binded action button stays stuck on screen, and im wondering if its possible to make it so everytime a player respawns, all those action binds are unbinded, but you keep the default roblox binds binded