The aggregate of feeling (vedanākkhandha), is a mental aggregate. When we say "physical pain," it is still mentality, but it conditioned by materiality (rūpa), such as hardness, burning, or pressure. When we say "mental pain," we are referring to grief, sorrow, and despair which derive from mental contact.
The Arahant cannot be free from the aggregate of feeling unless he or she is absorbed in the cessation of perception and feeling (nibbāna). If an Arahant is hit with a stick, or afflicted by a disease, he or she will definitely feel painful feelings. However, since an Arahant is always mindful of impermanence, he or she is not afflicted by mental pain — and does not wish, “If only this pain would go away,” which would mean aversion. An Arahant fully understands that it is conditioned, and will only cease when the conditions cease.
The case of the ardent meditator who has attained to (saṅkhārūpekhañāṇa) is the same, except that if he or she stops meditating painful physical or mental feelings might again cause mental suffering.
An ordinary lay person or monk, or a Stream-winner like could overcome painful feelings through diligent contemplation.
• • • • (Upasampadā: 24th June, 1979)