Multi-choice problem: does word "foot" have the same meaning in the following two sentences?

The foot of the list.

Curled up on the foot of the bed.

OPT: (1). different meanings (2). the same meaning
(2).