The Wind and the Sea Obey Him

Matthew 8:27   “…The wind and the sea obey Him…”.  Was this prayer or was this the Son of Man, the LORD Jesus Christ commanding the wind and commanding the sea?   Sometimes in pray its hard to distinguish between commanding and asking.