Much like any travel insurance policy, a plan purchased last-minute will typically protect you in the case of medical emergencies and injuries; unexpected events which cause delay; cancellation; repatriation; and lost, damaged, or stolen luggage.
It is possible to purchase travel insurance after departure last minute, and the cover that you will be offered will encompass the aforementioned factors.