Had the same problem a couple of weeks a go, all lights, radio and other gear working ok but no tilt & trim & the engine wouldn’t start.
Problem wasn’t a flat battery it was the battery isolator, so if your battery is charged OK check the connections & if that’s OK & you have an isolator try connecting the two battery leads together.
NO NOT THE BLACK & RED WIRE FROM THE BATTERY
I meant the ones either side of the isolator
Good Luck.