Ashore has 2 different meanings across 1 category:
Adverb
towards the shore from the water
"we invited them ashore"
On the land as opposed to onboard.
"After the storm cleared, we finally made it ashore and collapsed onto the dry grass."