The taker up of a boat, vessel, raft, or other property shall be entitled to retain it against the rightful owner until salvage be paid, or he or she may have and maintain a civil action against the owner for the amount of salvage due in accordance with this chapter.