Well, it's not a nod and not a bow, it's like in between them. When you rise a bit off your seat, take off your hat, move your hand with the hat down and aside, make a deep nod or a shallow bow (idk) and put your hat back on while dumping yourself back on the seat.
Kinda like that.