My ceiling fan and light will run briefly, then shut off. Will not run again unless the wall switch is off for a certain amount of time. This is the light and the fan.
It sounds like the remote in the fan is failing.
Is it new ? under warranty ? replace it, or the whole fan.
For some reason the remote unit mounted in the fan is shutting down.
When you turn off the wall switch you cut the power incoming to the remote, so the circuits can cool down.
They are not repairable, only replaceable.
If you want to test it, disconnect the fan wire and leave the lights on to see if they stay. Then reverse the process.