When hardware disappears, first try an SMC reset:
How to reset the System Management Controller (SMC) on your Mac - Apple Support
On a MacBook, be sure to use the keys on the LEFT side, adjacent to the fn key. The ones with the same names on the right side are not "wired in".