Even if you power the laptop off completely, some of the circuits on the Logic Board are still receiving power from the battery so that the laptop can be powered on by the power button, the keyboard, trackpad, and even opening the display clamshell lid, or even the USB-C ports may have power since connecting/disconnecting a device may power on the laptop.
At the very least the USB-C ports are toast (I'm always replacing USB-C ports for liquid damage). If the coffee hit the keyboard, then even if the keyboard electronics survived....the keys will likely become stuck by the dried coffee & it will smell.
FYI, if the initial liquid spill did not fry the electronics, then the corrosion which develops will kill the electronics. Corrosion can begin to form within minutes on the powered circuits, but it usually takes longer before it starts to eat into the metal & solder. Plus tilting the laptop will just cause the liquid to move to other locations within the laptop spreading the liquid damage & making it more likely for more problems.